GetTrapDisarmDC

From NWN Lexicon



Contents

[edit] GetTrapDisarmDC(object)

Determines the DC for the trap to be disarmed.

int GetTrapDisarmDC(
    object oTrapObject
);

[edit] Parameters

oTrapObject

a placeable, door or trigger


[edit] Description

Get the DC for disarming oTrapObject.

If the object isn't trapped, this should return 0.



[edit] Remarks

This is most useful for getting if an NPC henchmen can disarm the trap at all, and really is not cheating if they attempt it once, as it does show the DC of the trap to the person disarming it (once they have passed/failed on the attempt).


[edit] Version

1.22

[edit] See Also

functions: 

SetTrapDisarmDC

events: 

OnTrapTriggered Event



 author: Jody Fletcher, editor: Jasperre, Mistress
 

Personal tools
Categories