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
Grunt disappearing
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#3
RE: Grunt disappearing

(10-09-2012, 03:26 PM)naseem142 Wrote: How can i make the grunt "disappear" if he didn't find the player after 15 seconds?


Thank you.
you could add a timer, with makes him disappear

example

Void OnStart()
{
AddTimer("timers name", "number of second", "function to call when the time has passed");
}

void function(string &in asTimer)
{
SetEntityActive("name of monster", false); (false for making him dissapear)
}

CURRENT PROJECT:
A Fathers Secret == Just started
10-09-2012, 03:34 PM
Find


Messages In This Thread
Grunt disappearing - by naseem142 - 10-09-2012, 03:26 PM
RE: Grunt disappearing - by Robby - 10-09-2012, 03:30 PM
RE: Grunt disappearing - by Lizard - 10-09-2012, 03:34 PM
RE: Grunt disappearing - by naseem142 - 10-09-2012, 03:59 PM
RE: Grunt disappearing - by Robby - 10-09-2012, 04:06 PM
RE: Grunt disappearing - by naseem142 - 10-09-2012, 04:07 PM
RE: Grunt disappearing - by Robby - 10-09-2012, 04:10 PM
RE: Grunt disappearing - by naseem142 - 10-09-2012, 04:18 PM



Users browsing this thread: 1 Guest(s)