by skydereign » Wed Jan 02, 2013 8:52 am
Timers are pretty straightforward, which is probably why you didn't find anything. There is a gedt (gameEditor tutorial) for it though. You can access this tutorial from [Help]->[Events and Actions]->[Timers]. I'll try adding a wiki page for it a little later though. Anyway, it is just the following.
First you have to create a timer. This can only be done by choosing CreateTimer in an action (for instance selecting CreateTimer in the script editor).
After being prompted by the CreateTimer dialog, select the empty box, and choose [New Timer].
From there give the timer a name, and set whichever properties you want.
Click [Okay] to create the timer, and then click [Add] to actually add the code.
Now gE understand you have a timer, and will let you create timer events.
To create a timer event, go to the actor control panel and create an event like you normally would. Select Timer.
Pick the timer you want the event to be triggered by, and write the code or actions you want to be triggered.
You can call the CreateTimer function for any actor, but it will only do something for actors that have an event for the timer.