User Tools

Site Tools


modding:function:sysaddobjrecurringtimerevent

Discuss this page on this pages TalkPage

sysAddObjRecurringTimerEvent

See sysAddObjRecurringTimerEvent at Xelerus

Syntax (sysAddObjRecurringTimerEvent number spaceObject string)
Arguments 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 event, system, 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. Return to Functions list

modding/function/sysaddobjrecurringtimerevent.txt · Last modified: 2014/12/27 04:40 by 127.0.0.1