GetTrapOneShot(object)

Determines if the trap was designated as only going off once.

int GetTrapOneShot(
    object oTrapObject
);

Parameters

oTrapObject

a placeable, door or trigger


Description

Returns TRUE if trap has been set as a 'one-shot'. All traps set by PCs, NPCs during game are automatically set as 'one-shot'.



Version

1.22

See Also

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


 author: Jody Fletcher
 Send comments on this topic.