nw_i0_generic
From NWN Lexicon
Contains a slew of useful functions.
NOTE: This file includes x0_i0_behavior .
[edit] Constants
Name | Value | Brief Description |
---|---|---|
chooseTactics_MEMORY_DEFENSE_OTHERS | 1 | |
chooseTactics_MEMORY_DEFENSE_SELF | 2 | |
chooseTactics_MEMORY_OFFENSE_MELEE | 0 | |
chooseTactics_MEMORY_OFFENSE_SPELL | 3 | |
NW_GENERIC_FLEE_EXIT_FLEE | 0 | |
NW_GENERIC_FLEE_EXIT_RETURN | 1 | |
NW_GENERIC_FLEE_TELEPORT_FLEE | 2 | |
NW_GENERIC_FLEE_TELEPORT_RETURN | 3 | |
NW_GENERIC_SHOUT_BACK_UP_NEEDED | 13 | |
NW_GENERIC_SHOUT_BLOCKER | 2 | |
NW_GENERIC_SHOUT_I_AM_DEAD | 12 | |
NW_GENERIC_SHOUT_I_WAS_ATTACKED | 1 |
[edit] Functions
Name | Brief Description |
---|---|
__InCombatRound | Internal function. Tests to see if already running a determine combat round this round. |
__TurnCombatRoundOn | Internal function. Will set the exclusion variable on whether in combat or not. |
Causes a creature to run to its exit waypoint and disappear. | |
AdjustBehaviorVariable | Internal function. Overriding "behavior" variables. If a variable has been stored on the creature it overrides the class defaults. |
Used in DetermineCombatRound to keep henchmen bashing doors. | |
Plays voice chat messages that indicates the locked status of a door or placeable. | |
Determines class-specific tactics. | |
Spawns a creature using the action queue. | |
Looks at the character classes of a NPC and determines which one to use in combat. | |
Determines NPC actions during any given round. | |
Makes a creature use behave a special way overriding default behavior. | |
Internal function. Makes the calling creature flee from the AOE (area of effect) specified by oAOEObject. | |
Returns the total levels a creature has in all three classes. | |
Returns TRUE if the executing object can use ActivateFleeToExit. | |
Finds the closest locked object up to a maximum of 10 objects away. | |
Determines a NPC's state of mind toward another object. | |
GetShouldNotCastSpellsBecauseofArmor | Internal function. Returns TRUE if a wizard or sorcerer and wearing armor. |
InvisibleBecome | Internal function. A more intelligent invisibility solution, along the lines of the one used in the various end-user AIs. |
Returns TRUE if the object is hidden either magically or via stealth. | |
Makes a creature act out some animations to look more lifelike. | |
Removes a sleep effect on a successful listen check. | |
Sets NPC to respond to numerous alerts sent by PC or other NPCs. | |
Stores the condition of an NPC warning status. | |
Creates an encounter that is meant to help an attacked NPC. |
author: Charles Feduke, editors: Mistress, Baragg, Kolyana