Functions Documentation |
|
Name |
sysAddObjRecurringTimerEvent |
Syntax |
(sysAddObjRecurringTimerEvent number spaceObject string) |
Argument List |
number: The ticks between each of the timed events.
spaceObject: The space object that will be calling the events.
string: The name of the event. |
Returns |
condition: True if successful, Nil otherwise. |
Category |
system, event, time
|
Description |
Makes an event be called on a space object every so often. |
Example |
(sysAddObjRecurringTimerEvent 100 gplayership "Success")
Calls the event called Success on the player ship every 100 ticks. |
Comment |
Allows you to run a code every so often. |