Functions Documentation |
|
Name |
sysAddObjTimerEvent |
Syntax |
(sysAddObjTimerEvent number spaceObject string) |
Argument List |
number: The delay before the event is run.
spaceObject: The space object that will be calling the event.
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 after a delay. |
Example |
(sysAddObjTimerEvent 100 gplayership "Success")
Calls the event called Success on the player ship after 100 ticks. |
Comment |
Allows you to run a code on an space object after a delay. |