GetTrapDetectable

From NWN Lexicon
Jump to navigationJump to search



GetTrapDetectable(object)

Determines if the specific trap has been set as detectable or not by the toolset.

int GetTrapDetectable(
    object oTrapObject
);

Parameters

oTrapObject

a placeable, door or trigger


Description

Returns TRUE if trap is detectable. This is set only during module creation in the toolset. All traps set during game are detectable.



Version

1.22

See Also

functions: 

SetTrapDetectable

events: 

OnTrapTriggered Event



 author: Jody Fletcher, editor: Mistress