User Tools

Site Tools


modding:function:typaddtimerevent

Discuss this page on this pages TalkPage

Added in API30

typAddTimerEvent

Syntax (typAddTimerEvent unid delay event)
Arguments unid: The unid of the type you want to add a timer event on.
delay: delay, in ticks, before the event fires.
event: the event on the type to fire
Returns
Category type, unid
Description calls an event on the type to fire after a delay in ticks.

Example

(typeAddTimerEvent typeUNID 100 "Success")

Calls the event called Success to fire after 100 ticks.

Return to type functions list

Return to Functions list

modding/function/typaddtimerevent.txt · Last modified: 2017/01/20 03:18 by xephyr