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
Timer help
VisualTech48 Offline
Junior Member

Posts: 21
Threads: 5
Joined: Apr 2012
Reputation: 0
#3
RE: Timer help

(03-13-2013, 03:45 PM)JustAnotherPlayer Wrote:
PHP Code: (Select All)
void OnStart()
{
    
AddEntityCollideCallback("Player""TheTime""MonsterTimerBegin"true1); //TheTime is the script area you mention.
}

void MonsterTimerBegin(string &in asParentstring &in asChildint alState)
{   
        
AddTimer(""30.0f"MonsterTimer"); //Begins the timer with the duration of 30 sec.
}

void MonsterTimer(string &in asTimer)
{    
    
SetEntityActive("MONSTERNAME"true);   //Change MONSTERNAME to whatever your monster's name is.

I don't know how to script Case2, but i think it uses the if else statement.

Ty man, but still waiting if anyone cound help me make Case 2#

- Order and Law! - The new Mod[WIP]
03-13-2013, 05:21 PM
Find


Messages In This Thread
Timer help - by VisualTech48 - 03-13-2013, 02:28 PM
RE: Timer help - by PutraenusAlivius - 03-13-2013, 03:45 PM
RE: Timer help - by VisualTech48 - 03-13-2013, 05:21 PM
RE: Timer help - by Adrianis - 03-13-2013, 05:35 PM
RE: Timer help - by VisualTech48 - 03-13-2013, 06:15 PM



Users browsing this thread: 1 Guest(s)