GetTrapDisarmable(object)
Determines if the specific trap is capable of being disarmed.
int GetTrapDisarmable( object oTrapObject );
Parameters
oTrapObject
a placeable, door or trigger
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.
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.
Version
1.22
See Also
functions: | SetTrapDisarmable | SetTrapDisabled |
categories: | Traps Functions |
events: | OnDisarm Event | OnTrapTriggered Event |
author: Jody Fletcher, editor: Jasperre, Mistress