GetTrapDisarmable
From NWN Lexicon
Contents |
[edit] GetTrapDisarmable(object)
Determines if the specific trap is capable of being disarmed.
int GetTrapDisarmable( object oTrapObject );
[edit] Parameters
oTrapObject
a placeable, door or trigger
[edit] Description
Returns TRUE if trap is disarmable. This is only done in the toolset, all traps placed by PC's in-game (and DM's) are automatically disarmable.
[edit] Remarks
Undisarmable traps can still be disarmed with SetTrapDisabled() , therefore, it is a good way to have special traps which only a lever can disable.
[edit] Version
1.22
[edit] See Also
functions: | |
events: |
author: Jody Fletcher, editor: Jasperre, Mistress