modding:function:typaddrecurringtimerevent
Differences
This shows you the differences between two versions of the page.
| modding:function:typaddrecurringtimerevent [2017/01/20 03:10] – created xephyr | modding:function:typaddrecurringtimerevent [2017/01/20 03:14] (current) – typos xephyr | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| ^ Syntax | (typAddRecurringTimerEvent unid interval event) | | ^ Syntax | (typAddRecurringTimerEvent unid interval event) | | ||
| - | ^ Arguments | unid: The unid of the type you want to get the value of an attribute from. | | + | ^ Arguments | unid: The unid of the type you want to add the event on. | |
| ^ | interval: interval in ticks between events. | | ^ | interval: interval in ticks between events. | | ||
| ^ | event: the event on the type to fire | | ^ | event: the event on the type to fire | | ||
| ^ Returns | | | ^ Returns | | | ||
| ^ Category | [[type]], [[unid]] | | ^ Category | [[type]], [[unid]] | | ||
| - | ^ Description | calls an event on the type to fire every interval. | | + | ^ Description | calls an event on the type to fire after every interval, in ticks | |
| === Example === | === Example === | ||
| Line 17: | Line 17: | ||
| <code lisp> | <code lisp> | ||
| - | Calls the event called Success on the player ship every 100 ticks. Return to Functions list | + | Calls the event called Success on the type every 100 ticks. Return to Functions list |
| Return to [[modding: | Return to [[modding: | ||
modding/function/typaddrecurringtimerevent.1484881857.txt.gz · Last modified: by xephyr
