Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Call Monster When Interact With Door?
Russ Money Offline
Senior Member

Posts: 360
Threads: 25
Joined: Dec 2010
Reputation: 4
#2
RE: Call Monster When Interact With Door?

SetEntityActive("SpotGrunt2", true);

SpotGrunt2 is the name of the grunt enemy entity?

I don't know what the name of the monster is, so I can't tell you if that's coded correctly.\

Edit:

Also, if you meant for the door to be intractable after a trigger,

SetEntityPlayerInteractCallback("DoorGrunt", "SpawnGrunt", false);

Then, it's right, if it's a door that's to spawn the monster whenever it gets touched, then just put it in OnStart.
(This post was last modified: 03-04-2011, 08:33 AM by Russ Money.)
03-04-2011, 08:31 AM
Find


Messages In This Thread
RE: Call Monster When Interact With Door? - by Russ Money - 03-04-2011, 08:31 AM



Users browsing this thread: 1 Guest(s)