SetTrapDisarmable(object, int)

Sets whether or not the trapped object can be disarmed.

void SetTrapDisarmable(
    object oTrapObject,
    int nDisarmable = TRUE
);

Parameters

oTrapObject

A placeable, door or trigger.

nDisarmable

TRUE or FALSE. Defaults to TRUE if no value set.


Description

Sets whether or not the trap on an object can be disarmed.



Version

1.67

See Also

functions:  GetTrapDisarmable
categories:  Traps Functions
events:  OnDisarm Event | OnTrapTriggered Event


author: Mistress, editor: Kookoo