SetTrapActive(object, int)
Sets whether or not the trap is an active trap.
void SetTrapActive( object oTrapObject, int nActive = TRUE );
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.
Remarks
Setting a trap as inactive will not make the trap disappear if it has already been detected. Call SetTrapDetectedBy to make a detected trap disappear. To make an inactive trap not detectable call SetTrapDetectable.
Version
1.67
See Also
functions:  | GetTrapActive |
categories:  | Traps Functions |
events:  | OnDisarm Event | OnTrapTriggered Event |
author: Mistress