GetTrapActive

From NWN Lexicon
Jump to navigationJump to search


GetTrapActive(object)

Determines if a trap is active.

int GetTrapActive(
    object oTrapObject
);

Parameters

oTrapObject

A placeable, door or trigger.


Description

Determines if a trap is active.



Remarks

Returns TRUE if oTrapObject is active.


Version

1.67

See Also

functions: 

SetTrapActive

events: 

OnTrapTriggered Event



author: Mistress