GetTrapOneShot
From NWN Lexicon
Jump to navigationJump to search
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'. Meaning it will not reset itself after firing.
All traps set by PCs, NPCs during game are automatically set as 'one-shot'.
Version
1.22
See Also
| functions: | |
| events: |
author: Jody Fletcher, editor: Mistress