CreateCountTimer: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
{{FuncParamOptional|UserArgs|Arguments to pass to the function.}} | {{FuncParamOptional|UserArgs|Arguments to pass to the function.}} | ||
{{FuncReturnValue|Returns the identifier to this timer. Use DestroyTimer to stop it.}} | {{FuncReturnValue|Returns the identifier to this timer. Use [[DestroyTimer]] to stop it.}} | ||
== Example == | == Example == |
Revision as of 15:09, 13 November 2019
Description
Creates a countdown timer.
Syntax
CreateCountTimer(LuaFunction, Interval, Count [, UserArgs])
Parameters
- LuaFunction
The function to execute. - Interval
Interval to execute the function. - Count
__EDIT_ME__ - UserArgs (optional)
Arguments to pass to the function.
Return Value
- Returns the identifier to this timer. Use DestroyTimer to stop it.
Example
__EDIT_ME__
See also
__EDIT_ME__