GetDetonationTimer

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns the time (seconds) remaining until the calling projectile detonates.

Syntax

[help]
(detonationTime:float) reference.GetDetonationTimer

Example

set fDetonationTime to projRef.GetDetonationTimer 

Notes

  • This function returns -1 on projectiles without the "Explosion" and "Alt. Trigger" flags.
  • Used on a mine that hasn't been triggered yet, this function returns a very large integer, which can be equated to > 99999.

See Also