GetTrapOneShot(object)

Determines if the trap was designated as only going off once.

int GetTrapOneShot(
    object oTrapObject
);

Parameters

oTrapObject

a placeable, door or trigger


Description

Returns TRUE if trap has been set as a 'one-shot'. Meaning it will not reset itself after firing.

All traps set by PCs, NPCs during game are automatically set as 'one-shot'.



Version

1.22

See Also

functions: SetTrapOneShot
categories: Traps Functions
events: OnDisarm Event | OnTrapTriggered Event


 author: Jody Fletcher, editor: Mistress