GetTrapOneShot

From NWN Lexicon



Contents

[edit] GetTrapOneShot(object)

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

int GetTrapOneShot(
    object oTrapObject
);

[edit] Parameters

oTrapObject

a placeable, door or trigger


[edit] Description

Returns TRUE if trap has been set as a 'one-shot'. Meaning it will not reset itself after firing.

All traps set by PCs, NPCs during game are automatically set as 'one-shot'.



[edit] Version

1.22

[edit] See Also

functions: 

SetTrapOneShot

events: 

OnTrapTriggered Event



 author: Jody Fletcher, editor: Mistress
 

Personal tools
Categories