User Tools

Site Tools


modding:function:typaddrecurringtimerevent

This is an old revision of the document!


Discuss this page on this pages TalkPage

Added in API30

typAddRecurringTimerEvent

Syntax (typAddRecurringTimerEvent unid interval event)
Arguments unid: The unid of the type you want to get the value of an attribute from.
interval: interval in ticks between events.
event: the event on the type to fire
Returns
Category type, unid
Description calls an event on the type to fire every interval.

Example

(typAddRecurringTimerEvent typeUNID 100 "Success") 

Calls the event called Success on the player ship every 100 ticks. Return to Functions list

Return to type functions list

Return to Functions list

modding/function/typaddrecurringtimerevent.1484881857.txt.gz · Last modified: 2017/01/20 03:10 by xephyr