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
problem with enemies not backing off
Streetboat Offline
Posting Freak

Posts: 1,099
Threads: 40
Joined: Mar 2011
Reputation: 56
#5
RE: problem with enemies not backing off

Have a script in front of the closet that has a collide callback set to that enemy- when the monster triggers it, use a timer (set to how long you want the player to cower before the monster gets bored and leaves). The function the timer sets off should do this: set the first monster to inactive, and simultaneously set another monster (initially inactive and standing right in front of the closet) to active. Then give that monster whatever path nodes you like. The player, being trapped, will not realize that the first monster disappeared and then the second one appeared, it will seem like the monster stopped going crazy all over the closets grill. Bonus points if you can play some monster sounds to cover up the swaperoo.

I would post specific scripts for you to use, but I'm at work and posting this on my phone. Good luck! Smile

[Image: signature-2.png]
(This post was last modified: 07-20-2011, 06:49 PM by Streetboat.)
07-20-2011, 06:47 PM
Find


Messages In This Thread
RE: problem with enemies not backing off - by Streetboat - 07-20-2011, 06:47 PM



Users browsing this thread: 1 Guest(s)