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
Immediate Actions
DRedshot Offline
Senior Member

Posts: 374
Threads: 23
Joined: Jun 2011
Reputation: 11
#5
RE: Immediate Actions

I think he wants a startup script, which would be only run once, judging by the fact that he wants a monster to smash through the door. If you do want it to be repeated, you would have to put it in void OnEnter() and you would have to use ResetProp to fix the door, and return the monster to it's original position.

Also, Elven, instead of
void OnStart()
{
AddTimer("" , 0 , "intro");
}
void intro(string &in asTimer)
{

}

you can just use

void OnStart()
{
intro();
}

void intro(){

}

Unless of course you want a delay between the OnStart() and the WakeUp Function.

(This post was last modified: 08-27-2011, 12:33 AM by DRedshot.)
08-27-2011, 12:32 AM
Find


Messages In This Thread
Immediate Actions - by JetlinerX - 08-26-2011, 11:27 PM
RE: Immediate Actions - by DRedshot - 08-26-2011, 11:30 PM
RE: Immediate Actions - by Elven - 08-26-2011, 11:33 PM
RE: Immediate Actions - by Your Computer - 08-27-2011, 12:06 AM
RE: Immediate Actions - by DRedshot - 08-27-2011, 12:32 AM
RE: Immediate Actions - by Elven - 08-27-2011, 12:38 AM
RE: Immediate Actions - by JetlinerX - 08-27-2011, 03:53 PM



Users browsing this thread: 1 Guest(s)