X0 i0 modes
From NWN Lexicon
[edit] x0_i0_modes
Library for various behavior modes, such as stealth mode, detect mode, etc.
[edit] Constants
| Name | Value | Brief Description |
|---|---|---|
| NW_MODE_DETECT | 0x00000002 | |
| NW_MODE_STEALTH | 0x00000001 | |
| sModeVarname | NW_MODES_CONDITION |
[edit] Functions
| Name | Brief Description |
|---|---|
| GetModeActive | Returns TRUE if the given creature has the given mode active. |
| SetModeActive | Mark that the given creature has the given mode active or not. |
| UseDetectMode | If detect mode is active, turn on the appropriate skills. NOTE: The contents of this function are entirely commented out. |
| UseStealthMode | If stealth mode is active, turn on the appropriate skills. NOTE: The contents of this function are entirely commented out. |
author: Mistress