GetMineArmed

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Ran on a projectile reference, returns 1 if the projectile is considered a mine and is currently armed, capable of detonation when an actor comes nearby. In any other case it returns 0.

Syntax

[help]
(isArmed:bool) reference.GetMineArmed

Example

set bMineArmed to projectileRef.GetMineArmed

Notes

  • A mine is any projectile that is explosion-capable, with the alt-trigger flag, and with a detonation radius greater than 0.
  • This function always returns 0 on player-placed mines.
  • To disarm a mine, consider using Activate on it.