X0 i0 combat

From NWN Lexicon



[edit] x0_i0_combat

Library for the XP1-specific modified combat AI.

NOTE: This file includes x0_i0_talent .

[edit] Constants

Name Value Brief Description
sCombatCondVarname X0_COMBAT_CONDITION
X0_COMBAT_FLAG_AMBUSHER 0x00000008
X0_COMBAT_FLAG_COWARDLY 0x00000004
X0_COMBAT_FLAG_DEFENSIVE 0x00000002
X0_COMBAT_FLAG_RANGED 0x00000001


[edit] Functions

Name Brief Description

GetCombatCondition

Determine whether the specified X0_COMBAT_FLAG_* is set on the target.

SetCombatCondition

Set one of the X0_COMBAT_FLAG_* values on the target.

SpecialTactics

Checks for the special tactics flags and chooses tactics appropriately for each.

SpecialTacticsAmbusher

Special tactics for ambushers.

SpecialTacticsCowardly

Special tactics for cowardly creatures.

SpecialTacticsDefensive

Special tactics for defensive fighters.

SpecialTacticsRanged

Special tactics for ranged fighters.



  author: Mistress, editor: Baragg

Personal tools
Categories