SetTrapActive
From NWN Lexicon
Jump to navigationJump to search
SetTrapActive(object, int)
Sets whether or not the trap is an active trap.
Parameters
oTrapObject
A placeable, door or trigger
nActive
TRUE or FALSE. Defaults to TRUE if no value set.
Description
Sets whether or not the trap is an active trap. Inactive trap will not trigger when player step on it.
Remarks
Setting a trap as inactive will not make the trap disappear if it has already been detected. Call SetTrapDetectable .
Version
1.67
See Also
functions: | |
events: |
author: Mistress