SetTrapDetectDC

From NWN Lexicon
Jump to navigationJump to search


SetTrapDetectDC(object, int)

Set the DC for detecting the trap.

void SetTrapDetectDC(
    object oTrapObject,
    int nDetectDC
);

Parameters

oTrapObject

A placeable, door or trigger.

nDetectDC

Must be between 0 and 250.


Description

Set the DC for detecting the trap.



Version

1.67

See Also

functions: 

GetTrapDetectDC

events: 

OnTrapTriggered Event



author: Mistress