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: SetTrapDetectedBy
categories: Traps Functions
events: OnDisarm Event | OnTrapTriggered Event


 author: Jody Fletcher, editor: Mistress