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?
theDARKW0LF Offline
Member

Posts: 150
Threads: 17
Joined: Sep 2010
Reputation: 0
#3
RE: Call Monster When Interact With Door?

(03-04-2011, 08:31 AM)Russ Money Wrote: 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.

Yes, SpotGrunt2 is the enemy. I'll try that out and get back to you, thanks!

Check out my custom stories(1)(2)!
03-04-2011, 08:38 PM
Find


Messages In This Thread
RE: Call Monster When Interact With Door? - by theDARKW0LF - 03-04-2011, 08:38 PM



Users browsing this thread: 1 Guest(s)