GetLastTrapDetected(object)

Determines the trap last detected by the PC.

object GetLastTrapDetected(
    object oTarget = OBJECT_SELF
);

Parameters

oTarget

Creature that has last detected a trap. (Default: OBJECT_SELF)


Description

Returns the last trap detected by oTarget. Return value on error: OBJECT_INVALID



Version

1.22

See Also

functions: GetTrapBaseType | GetTrapCreator | GetTrapDetectable | GetTrapDetectDC | GetTrapDetectedBy | GetTrapDisarmable | GetTrapDisarmDC | GetTrapFlagged | GetTrapKeyTag | GetTrapOneShot | SetTrapDetectedBy | SetTrapDisabled
categories: Get Data Functions | Traps Functions
events: OnDisarm Event | OnTrapTriggered Event


 author: Jody Fletcher