GetTrapDetectedBy(object, object)

Determines whether a creature has detected a specific trap.

int GetTrapDetectedBy(
    object oTrapObject,
    object oCreature
);

Parameters

oTrapObject

a placeable, door or trigger

oCreature

The creature to do the check on.


Description

Returns TRUE if oCreature has detected the trap.



Version

1.22

See Also

functions: GetIsTrapped | GetLastTrapDetected | GetTrapBaseType | GetTrapCreator | GetTrapDetectable | GetTrapDetectDC | GetTrapDisarmable | GetTrapDisarmDC | GetTrapFlagged | GetTrapKeyTag | GetTrapOneShot | SetTrapDetectedBy
categories: Traps Functions
events: OnDisarm Event | OnTrapTriggered Event


 author: Jody Fletcher
 Send comments on this topic.