SetTrapRecoverable(object, int)

Sets whether or not the trapped object can be recovered.

void SetTrapRecoverable(
    object oTrapObject,
    int nRecoverable = TRUE
);

Parameters

oTrapObject

A placeable, door or trigger.

nRecoverable

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


Description

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



Version

1.67

See Also

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


author: Mistress, editor: Kookoo