SetTrapOneShot
From NWN Lexicon
Contents |
[edit] 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 );
[edit] Parameters
oTrapObject
A placeable, door or trigger.
nOneShot
TRUE or FALSE. Defaults to TRUE (one-shot) if no value set.
[edit] Description
Sets whether or not the trap is a one-shot trap. Meaning whether or not the trap resets itself after firing.
[edit] Version
1.67
[edit] See Also
functions: | |
events: |
author: Mistress, editor: Kookoo