GetTrapDisarmDC(object)

Determines the DC for the trap to be disarmed.

int GetTrapDisarmDC(
    object oTrapObject
);

Parameters

oTrapObject

a placeable, door or trigger


Description

Get the DC for disarming oTrapObject.

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



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).


Version

1.22

See Also

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


 author: Jody Fletcher, editor: Jasperre, Mistress