SetTrapOneShot
From NWN Lexicon
Jump to navigationJump to search
SetTrapOneShot(object, int)
Sets whether or not the trap is a one-shot trap. Meaning whether or not the trap resets itself after firing.
void SetTrapOneShot(
object oTrapObject,
int nOneShot = TRUE
);
Parameters
oTrapObject
A placeable, door or trigger.
nOneShot
TRUE or FALSE. Defaults to TRUE (one-shot) if no value set.
Description
Sets whether or not the trap is a one-shot trap. Meaning whether or not the trap resets itself after firing.
Version
1.67
See Also
| functions: | |
| events: |
author: Mistress, editor: Kookoo