CancelTimerGameTime - ScriptObject

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.

SyntaxEdit

Function CancelTimerGameTime(int aiTimerID = 0) native

ParametersEdit

  • 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 ValueEdit

None.

ExamplesEdit

; Cancel pending game-time timer 0 on this script
CancelTimerGameTime()


; Cancel pending game-time timer 99 on this script
CancelTimerGameTime(99)

See AlsoEdit