CancelTimerGameTime - ScriptObject
Jump to navigation
Jump to search
Member of: ScriptObject Script
Cancels the specified game-time timer on this script. Does nothing if that timer has already expired or doesn't exist.
Syntax[edit | edit source]
Function CancelTimerGameTime(int aiTimerID = 0) native
Parameters[edit | edit source]
- aiTimerID: The ID of the game-time timer to cancel. The ID is unique per-script and will not conflict with real-time timers.
- Default: 0
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Cancel pending game-time timer 0 on this script
CancelTimerGameTime()
; Cancel pending game-time timer 99 on this script
CancelTimerGameTime(99)