SetTrapDetectable

From NWN Lexicon


Contents

[edit] SetTrapDetectable(object, int)

Sets whether or not the trapped object can be detected.

void SetTrapDetectable(
    object oTrapObject,
    int nDetectable = TRUE
);

[edit] Parameters

oTrapObject

A placeable, door or trigger.

nDetectable

TRUE or FALSE. If no value set, defaults to TRUE.


[edit] Description

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



[edit] Remarks

Setting a trapped object to not be detectable will not make the trap disappear if it has already been detected.


[edit] Version

1.67

[edit] See Also

functions: 

GetTrapDetectable

events: 

OnTrapTriggered Event



author: Mistress, editor: Kookoo

Personal tools
Categories