Functions Documentation |
|
Name |
sysAddTypeRecurringTimerEvent |
Syntax |
(sysAddTypeRecurringTimerEvent interval type event) |
Argument List |
interval: time, in ticks, between event triggers
type: UNID of type to call event on
event: name of event to call |
Returns |
?? |
Category |
system, time, type, events
|
Description |
As sysAddObjRecurringEvent, but causes events to be called on the type itself as onGlobal events are. |
Example |
(sysAddTypeRecurringTimerEvent 30 &myType; 'onEachSecond) |
Comment |
Timer events are still bound to the system that they're in, you can't just set them once and have them continue for the whole game.
gSource is invalid in the events fired by this function. |