Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

bot_state_s Struct Reference

#include <ai_main.h>

Collaboration diagram for bot_state_s:

Collaboration graph
[legend]

Data Fields

bot_activategoal_t activategoalheap [MAX_ACTIVATESTACK]
bot_activategoal_tactivatestack
vec3_t aimtarget
int(* ainode )(struct bot_state_s *bs)
bot_goal_t altroutegoal
int areanum
float arrive_time
float askteamleader_time
float attackaway_time
float attackchase_time
float attackcrouch_time
float attackjump_time
float attackstrafe_time
float becometeamleader_time
float blockedbyavoidspot_time
int blueflagstatus
int botdeathtype
int botsuicide
int botthink_residual
float camp_range
float camp_time
int character
float chase_time
int chatto
float check_time
bot_waypoint_tcheckpoints
int client
int cs
float ctfroam_time
int ctfstrategy
playerState_t cur_ps
bot_waypoint_tcurpatrolpoint
int decisionmaker
float defendaway_range
float defendaway_time
int enemy
float enemydeath_time
int enemydeathtype
vec3_t enemyorigin
float enemyposition_time
float enemysight_time
int enemysuicide
vec3_t enemyvelocity
float enemyvisible_time
float entergame_time
int entergamechat
int entityeventTime [1024]
int entitynum
vec3_t eye
float firethrottleshoot_time
float firethrottlewait_time
int flagcarrier
int flags
int flagstatuschanged
int forceorders
float formation_angle
vec3_t formation_dir
float formation_dist
bot_goal_t formation_goal
vec3_t formation_origin
char formation_teammate [16]
int gs
float harvestaway_time
vec3_t ideal_viewangles
int inuse
int inventory [MAX_ITEMS]
float invulnerability_time
float kamikaze_time
int kamikazebody
float killedenemy_time
int last_eFlags
float lastair_time
float lastchat_time
int lastenemyareanum
vec3_t lastenemyorigin
float lastflagcapture_time
int lastframe_health
int lastgoal_decisionmaker
int lastgoal_ltgtype
bot_goal_t lastgoal_teamgoal
int lastgoal_teammate
int lasthealth
int lasthitcount
int lastkilledby
int lastkilledplayer
usercmd_t lastucmd
bot_goal_t lead_teamgoal
int lead_teammate
float lead_time
float leadbackup_time
float leadmessage_time
float leadvisible_time
float ltg_time
int ltgtype
float ltime
int map_restart
int ms
float nbg_time
int neutralflagstatus
float notblocked_time
int num_deaths
int num_kills
int numproxmines
int numteammates
float order_time
int ordered
vec3_t origin
int owndecision_time
int patrolflags
bot_waypoint_tpatrolpoints
int predictobstacles_goalareanum
float predictobstacles_time
int presencetype
int proxmines [MAX_PROXMINES]
float reachedaltroutegoal_time
int redflagstatus
float respawn_time
int respawn_wait
float respawnchat_time
int revenge_enemy
int revenge_kills
float rushbaseaway_time
bot_settings_t settings
int setupcount
float stand_time
float standfindenemy_time
char subteam [32]
float teamgiveorders_time
bot_goal_t teamgoal
float teamgoal_time
char teamleader [32]
int teammate
float teammatevisible_time
float teammessage_time
int teamtaskpreference
float teleport_time
int tfl
float thinktime
vec3_t velocity
vec3_t viewangles
vec3_t viewanglespeed
float walker
float weaponchange_time
int weaponnum
int ws

Field Documentation

bot_activategoal_t activategoalheap[MAX_ACTIVATESTACK]
 

Definition at line 274 of file ai_main.h.

Referenced by BotIsGoingToActivateEntity(), and BotPushOntoActivateGoalStack().

bot_activategoal_t* activatestack
 

Definition at line 273 of file ai_main.h.

Referenced by AINode_Seek_ActivateEntity(), BotAIBlocked(), BotAIPredictObstacles(), BotClearActivateGoalStack(), BotGetActivateGoal(), BotIsGoingToActivateEntity(), BotPopFromActivateGoalStack(), and BotPushOntoActivateGoalStack().

vec3_t aimtarget
 

Definition at line 203 of file ai_main.h.

Referenced by BotAimAtEnemy(), and BotCheckAttack().

int(* ainode)(struct bot_state_s *bs)
 

Referenced by AIEnter_Battle_Chase(), AIEnter_Battle_Fight(), AIEnter_Battle_NBG(), AIEnter_Battle_Retreat(), AIEnter_Battle_SuicidalFight(), AIEnter_Intermission(), AIEnter_Observer(), AIEnter_Respawn(), AIEnter_Seek_ActivateEntity(), AIEnter_Seek_LTG(), AIEnter_Seek_NBG(), AIEnter_Stand(), BotAIBlocked(), BotCheckConsoleMessages(), and BotDeathmatchAI().

bot_goal_t altroutegoal
 

Definition at line 233 of file ai_main.h.

Referenced by BotAlternateRoute(), BotCTFSeekGoals(), and BotGetAlternateRouteGoal().

int areanum
 

Definition at line 140 of file ai_main.h.

Referenced by AINode_Battle_Chase(), BotAI(), BotAIBlocked(), BotAimAtEnemy(), BotAIPredictObstacles(), BotAlternateRoute(), BotFuncButtonActivateGoal(), BotFuncDoorActivateGoal(), BotGetActivateGoal(), BotGetLongTermGoal(), BotMatch_Camp(), BotMatch_WhereAreYou(), BotNearbyGoal(), BotReachedGoal(), BotSetLastOrderedTask(), and BotWantsToCamp().

float arrive_time
 

Definition at line 191 of file ai_main.h.

Referenced by BotCTFSeekGoals(), BotGetLongTermGoal(), BotGoCamp(), BotMatch_Camp(), BotMatch_HelpAccompany(), BotVoiceChat_Camp(), and BotVoiceChat_FollowMe().

float askteamleader_time
 

Definition at line 253 of file ai_main.h.

Referenced by BotTeamAI().

float attackaway_time
 

Definition at line 187 of file ai_main.h.

Referenced by BotGetLongTermGoal(), BotMatch_AttackEnemyBase(), and BotVoiceChat_Offense().

float attackchase_time
 

Definition at line 179 of file ai_main.h.

Referenced by BotAttackMove().

float attackcrouch_time
 

Definition at line 178 of file ai_main.h.

Referenced by BotAttackMove(), and BotGetLongTermGoal().

float attackjump_time
 

Definition at line 180 of file ai_main.h.

Referenced by BotAttackMove().

float attackstrafe_time
 

Definition at line 177 of file ai_main.h.

Referenced by BotAttackMove().

float becometeamleader_time
 

Definition at line 254 of file ai_main.h.

Referenced by BotTeamAI().

float blockedbyavoidspot_time
 

Definition at line 200 of file ai_main.h.

Referenced by BotClearPath().

int blueflagstatus
 

Definition at line 259 of file ai_main.h.

Referenced by BotCheckEvents(), BotCheckItemPickup(), BotCTFOrders(), BotCTFSeekGoals(), BotGetLongTermGoal(), BotMatch_CTF(), and BotSetLastOrderedTask().

int botdeathtype
 

Definition at line 148 of file ai_main.h.

Referenced by BotChat_Death(), BotChat_Kill(), BotChatTest(), and BotCheckEvents().

int botsuicide
 

Definition at line 150 of file ai_main.h.

Referenced by BotChat_Death(), and BotCheckEvents().

int botthink_residual
 

Definition at line 125 of file ai_main.h.

Referenced by BotAIStartFrame(), and BotScheduleBotThink().

float camp_range
 

Definition at line 195 of file ai_main.h.

Referenced by BotGetLongTermGoal().

float camp_time
 

Definition at line 194 of file ai_main.h.

Referenced by BotGoCamp(), and BotWantsToCamp().

int character
 

Definition at line 211 of file ai_main.h.

Referenced by AINode_Battle_NBG(), AINode_Battle_Retreat(), BotAimAtEnemy(), BotAISetupClient(), BotAIShutdownClient(), BotAttackMove(), BotCanAndWantsToRocketJump(), BotChangeViewAngles(), BotChat_Death(), BotChat_EndLevel(), BotChat_EnemySuicide(), BotChat_EnterGame(), BotChat_ExitGame(), BotChat_HitNoDeath(), BotChat_HitNoKill(), BotChat_HitTalking(), BotChat_Kill(), BotChat_Random(), BotChat_StartLevel(), BotChatTime(), BotCheckAttack(), BotCheckConsoleMessages(), BotDeathmatchAI(), BotFindEnemy(), BotGetLongTermGoal(), BotGoCamp(), BotMapScripts(), BotResetState(), and BotWantsToCamp().

float chase_time
 

Definition at line 169 of file ai_main.h.

Referenced by AIEnter_Battle_Chase(), and AINode_Battle_Chase().

int chatto
 

Definition at line 161 of file ai_main.h.

Referenced by AIEnter_Intermission(), AINode_Respawn(), AINode_Stand(), BotChat_Death(), BotChat_EndLevel(), BotChat_EnemySuicide(), BotChat_EnterGame(), BotChat_ExitGame(), BotChat_HitNoDeath(), BotChat_HitNoKill(), BotChat_HitTalking(), BotChat_Kill(), BotChat_Random(), and BotChat_StartLevel().

float check_time
 

Definition at line 171 of file ai_main.h.

Referenced by AINode_Battle_Chase(), AINode_Battle_Retreat(), AINode_Seek_LTG(), and AINode_Seek_NBG().

bot_waypoint_t* checkpoints
 

Definition at line 276 of file ai_main.h.

Referenced by BotAIShutdownClient(), BotGetMessageTeamGoal(), BotMatch_CheckPoint(), and BotResetState().

int client
 

Definition at line 126 of file ai_main.h.

Referenced by AINode_Respawn(), AINode_Seek_ActivateEntity(), AINode_Seek_LTG(), AINode_Stand(), BotAddressedToBot(), BotAI(), BotAIBlocked(), BotAimAtEnemy(), BotAISetupClient(), BotAIShutdownClient(), BotBattleUseItems(), BotChangeViewAngles(), BotChat_Death(), BotChat_EndLevel(), BotChat_EnterGame(), BotChat_ExitGame(), BotChat_HitNoDeath(), BotChat_HitNoKill(), BotChat_HitTalking(), BotChat_Kill(), BotChat_Random(), BotChat_StartLevel(), BotChatTest(), BotCheckAttack(), BotCheckConsoleMessages(), BotCheckEvents(), BotCheckSnapshot(), BotChooseWeapon(), BotClearPath(), BotCreateGroup(), BotCTFOrders_BothFlagsNotAtBase(), BotCTFOrders_EnemyFlagNotAtBase(), BotCTFRetreatGoals(), BotCTFSeekGoals(), BotDeathmatchAI(), BotDumpNodeSwitches(), BotEnemyFlagCarrierVisible(), BotFindEnemy(), BotGetItemLongTermGoal(), BotGetLongTermGoal(), BotGetPatrolWaypoints(), BotGoCamp(), BotIsObserver(), BotMapScripts(), BotMatch_Camp(), BotMatch_HelpAccompany(), BotMatch_LeadTheWay(), BotMatch_Suicide(), BotMatch_TaskPreference(), BotMatch_WhatIsMyCommand(), BotMatch_WhichTeam(), BotMatch_WhoIsTeamLeader(), BotMatchMessage(), BotNearestVisibleItem(), BotPrintActivateGoalInfo(), BotRandomOpponentName(), BotReadSessionData(), BotRecordNodeSwitch(), BotRefuseOrder(), BotReportStatus(), BotResetState(), BotSameTeam(), BotSayTeamOrderAlways(), BotSetInfoConfigString(), BotSetupForMovement(), BotSetUserInfo(), BotTeam(), BotTeamAI(), BotTeamFlagCarrier(), BotTeamFlagCarrierVisible(), BotUpdateInput(), BotValidChatPosition(), BotVisibleEnemies(), BotVisibleTeamMatesAndEnemies(), BotVoiceChat(), BotVoiceChat_WantOnDefense(), BotVoiceChat_WantOnOffense(), BotVoiceChat_WhoIsLeader(), BotVoiceChatOnly(), and BotWriteSessionData().

int cs
 

Definition at line 214 of file ai_main.h.

Referenced by AIEnter_Intermission(), AINode_Respawn(), AINode_Stand(), BotAI(), BotAI_BotInitialChat(), BotAISetupClient(), BotAIShutdownClient(), BotChat_Death(), BotChat_Kill(), BotChatTest(), BotCheckConsoleMessages(), BotDeathmatchAI(), BotGetLongTermGoal(), BotLongTermGoal(), BotMatch_Camp(), BotMatch_CheckPoint(), BotMatch_Dismiss(), BotMatch_HelpAccompany(), BotMatch_JoinSubteam(), BotMatch_Kill(), BotMatch_LeadTheWay(), BotMatch_LeaveSubteam(), BotMatch_TaskPreference(), BotMatch_WhatAreYouDoing(), BotMatch_WhereAreYou(), BotMatch_WhichTeam(), BotResetState(), BotSayTeamOrder(), BotSayTeamOrderAlways(), BotTeamAI(), BotVoiceChat_Camp(), BotVoiceChat_FollowMe(), BotVoiceChat_Patrol(), BotVoiceChat_WantOnDefense(), BotVoiceChat_WantOnOffense(), and BotVoiceChat_WhoIsLeader().

float ctfroam_time
 

Definition at line 189 of file ai_main.h.

Referenced by BotCTFSeekGoals().

int ctfstrategy
 

Definition at line 264 of file ai_main.h.

Referenced by BotCTFOrders_BothFlagsAtBase(), BotCTFOrders_FlagNotAtBase(), and BotTeamAI().

playerState_t cur_ps
 

Definition at line 128 of file ai_main.h.

Referenced by AINode_Battle_Fight(), AINode_Seek_ActivateEntity(), BotAI(), BotAimAtEnemy(), BotAttackMove(), BotCheckAttack(), BotCheckSnapshot(), BotChooseWeapon(), BotClearPath(), BotDeathmatchAI(), BotIntermission(), BotIsDead(), BotIsFirstInRankings(), BotIsLastInRankings(), BotIsObserver(), BotResetState(), BotSetTeleportTime(), BotSetupForMovement(), BotUpdateInput(), and BotUpdateInventory().

bot_waypoint_t* curpatrolpoint
 

Definition at line 278 of file ai_main.h.

Referenced by BotGetLongTermGoal(), and BotGetPatrolWaypoints().

int decisionmaker
 

Definition at line 228 of file ai_main.h.

Referenced by BotCTFRetreatGoals(), BotCTFSeekGoals(), BotGetLongTermGoal(), BotGoCamp(), BotMatch_AttackEnemyBase(), BotMatch_Camp(), BotMatch_DefendKeyArea(), BotMatch_Dismiss(), BotMatch_GetFlag(), BotMatch_GetItem(), BotMatch_HelpAccompany(), BotMatch_Patrol(), BotMatch_ReturnFlag(), BotMatch_RushBase(), BotRefuseOrder(), BotRememberLastOrderedTask(), BotSetLastOrderedTask(), BotVoiceChat_Camp(), BotVoiceChat_Defend(), BotVoiceChat_FollowMe(), BotVoiceChat_GetFlag(), BotVoiceChat_Offense(), BotVoiceChat_Patrol(), and BotVoiceChat_ReturnFlag().

float defendaway_range
 

Definition at line 185 of file ai_main.h.

Referenced by BotGetLongTermGoal().

float defendaway_time
 

Definition at line 184 of file ai_main.h.

Referenced by BotCTFSeekGoals(), BotGetLongTermGoal(), BotMatch_DefendKeyArea(), and BotVoiceChat_Defend().

int enemy
 

Definition at line 217 of file ai_main.h.

Referenced by AINode_Battle_Chase(), AINode_Battle_Fight(), AINode_Battle_NBG(), AINode_Battle_Retreat(), AINode_Respawn(), AINode_Seek_ActivateEntity(), AINode_Seek_LTG(), AINode_Seek_NBG(), BotAimAtEnemy(), BotAttackMove(), BotChangeViewAngles(), BotChat_EnemySuicide(), BotChat_HitNoDeath(), BotChat_HitNoKill(), BotCheckAttack(), BotCheckEvents(), BotFindEnemy(), BotWantsToChase(), and BotWantsToRetreat().

float enemydeath_time
 

Definition at line 182 of file ai_main.h.

Referenced by AINode_Battle_Fight(), and BotFindEnemy().

int enemydeathtype
 

Definition at line 149 of file ai_main.h.

Referenced by BotChat_Kill(), and BotCheckEvents().

vec3_t enemyorigin
 

Definition at line 205 of file ai_main.h.

Referenced by BotAimAtEnemy().

float enemyposition_time
 

Definition at line 183 of file ai_main.h.

Referenced by BotAimAtEnemy().

float enemysight_time
 

Definition at line 181 of file ai_main.h.

Referenced by BotAimAtEnemy(), BotCheckAttack(), and BotFindEnemy().

int enemysuicide
 

Definition at line 151 of file ai_main.h.

Referenced by AINode_Battle_Fight(), BotCheckEvents(), and BotFindEnemy().

vec3_t enemyvelocity
 

Definition at line 204 of file ai_main.h.

Referenced by BotAimAtEnemy().

float enemyvisible_time
 

Definition at line 170 of file ai_main.h.

Referenced by AINode_Battle_NBG(), AINode_Battle_Retreat(), and BotFindEnemy().

float entergame_time
 

Definition at line 164 of file ai_main.h.

Referenced by BotAISetupClient(), BotDeathmatchAI(), BotResetState(), and BotTeamAI().

int entergamechat
 

Definition at line 154 of file ai_main.h.

Referenced by BotDeathmatchAI().

int entityeventTime[1024]
 

Definition at line 131 of file ai_main.h.

Referenced by BotCheckEvents().

int entitynum
 

Definition at line 127 of file ai_main.h.

Referenced by AINode_Battle_Chase(), AINode_Battle_Fight(), AINode_Battle_NBG(), AINode_Battle_Retreat(), AINode_Seek_ActivateEntity(), BotAimAtEnemy(), BotAISetupClient(), BotCheckAttack(), BotClearPath(), BotEnemyFlagCarrierVisible(), BotFindEnemy(), BotFuncButtonActivateGoal(), BotGetAirGoal(), BotGetLongTermGoal(), BotLongTermGoal(), BotMapScripts(), BotMatch_Camp(), BotReachedGoal(), BotResetState(), BotRoamGoal(), BotSetupForMovement(), BotTeamFlagCarrierVisible(), BotValidChatPosition(), BotVisibleEnemies(), and BotVisibleTeamMatesAndEnemies().

vec3_t eye
 

Definition at line 139 of file ai_main.h.

Referenced by AINode_Battle_Chase(), AINode_Battle_Fight(), AINode_Battle_NBG(), AINode_Battle_Retreat(), AINode_Seek_ActivateEntity(), BotAI(), BotAimAtEnemy(), BotCheckAir(), BotCheckAttack(), BotClearPath(), BotEnemyFlagCarrierVisible(), BotFindEnemy(), BotFuncButtonActivateGoal(), BotGetLongTermGoal(), BotLongTermGoal(), BotMapScripts(), BotNearestVisibleItem(), BotReachedGoal(), BotTeamFlagCarrierVisible(), BotVisibleEnemies(), and BotVisibleTeamMatesAndEnemies().

float firethrottleshoot_time
 

Definition at line 198 of file ai_main.h.

Referenced by BotCheckAttack().

float firethrottlewait_time
 

Definition at line 197 of file ai_main.h.

Referenced by BotCheckAttack().

int flagcarrier
 

Definition at line 263 of file ai_main.h.

Referenced by BotCTFOrders_BothFlagsNotAtBase(), BotCTFOrders_EnemyFlagNotAtBase(), and BotMatch_CTF().

int flags
 

Definition at line 143 of file ai_main.h.

Referenced by AIEnter_Battle_SuicidalFight(), AINode_Battle_Chase(), AINode_Battle_Fight(), AINode_Battle_NBG(), AINode_Battle_Retreat(), AINode_Seek_ActivateEntity(), AINode_Seek_LTG(), AINode_Seek_NBG(), BotAIBlocked(), BotAttackMove(), BotCheckAttack(), BotDeathmatchAI(), and BotMapScripts().

int flagstatuschanged
 

Definition at line 261 of file ai_main.h.

Referenced by BotCheckEvents(), BotMatch_CTF(), and BotTeamAI().

int forceorders
 

Definition at line 262 of file ai_main.h.

Referenced by BotMatch_WhatIsMyCommand(), and BotTeamAI().

float formation_angle
 

Definition at line 268 of file ai_main.h.

vec3_t formation_dir
 

Definition at line 269 of file ai_main.h.

float formation_dist
 

Definition at line 266 of file ai_main.h.

Referenced by BotCTFSeekGoals(), BotGetLongTermGoal(), BotMatch_FormationSpace(), BotMatch_HelpAccompany(), and BotVoiceChat_FollowMe().

bot_goal_t formation_goal
 

Definition at line 271 of file ai_main.h.

vec3_t formation_origin
 

Definition at line 270 of file ai_main.h.

char formation_teammate[16]
 

Definition at line 267 of file ai_main.h.

int gs
 

Definition at line 213 of file ai_main.h.

Referenced by AIEnter_Respawn(), AIEnter_Seek_LTG(), AIEnter_Seek_NBG(), AINode_Battle_NBG(), AINode_Battle_Retreat(), AINode_Seek_ActivateEntity(), AINode_Seek_LTG(), AINode_Seek_NBG(), BotAISetupClient(), BotAIShutdownClient(), BotDeathmatchAI(), BotDontAvoid(), BotGetItemLongTermGoal(), BotGoForAir(), BotNearbyGoal(), BotReachedGoal(), BotResetState(), and BotSetInfoConfigString().

float harvestaway_time
 

Definition at line 188 of file ai_main.h.

Referenced by BotGetLongTermGoal(), and BotVoiceChat_Offense().

vec3_t ideal_viewangles
 

Definition at line 222 of file ai_main.h.

Referenced by AINode_Battle_Chase(), AINode_Battle_NBG(), AINode_Battle_Retreat(), AINode_Seek_ActivateEntity(), AINode_Seek_LTG(), AINode_Seek_NBG(), BotAimAtEnemy(), BotChangeViewAngles(), BotGetLongTermGoal(), BotLongTermGoal(), and BotMapScripts().

int inuse
 

Definition at line 124 of file ai_main.h.

Referenced by BotAI(), BotAILoadMap(), BotAISetupClient(), BotAIShutdown(), BotAIShutdownClient(), BotAIStartFrame(), BotDeathmatchAI(), BotInterbreedBots(), BotInterbreeding(), BotResetState(), BotScheduleBotThink(), BotTeamLeader(), BotTeamplayReport(), BotUpdateInfoConfigStrings(), and BotWriteInterbreeded().

int inventory[MAX_ITEMS]
 

Definition at line 141 of file ai_main.h.

Referenced by AINode_Battle_Fight(), AINode_Stand(), BotAggression(), BotBattleUseItems(), BotCanAndWantsToRocketJump(), BotCheckAir(), BotCheckEvents(), BotCheckItemPickup(), BotChooseWeapon(), BotClearPath(), BotCTFCarryingFlag(), BotDeathmatchAI(), BotFeelingBad(), BotFindEnemy(), BotGetItemLongTermGoal(), BotGoForAir(), BotHasPersistantPowerupAndWeapon(), BotNearbyGoal(), BotReportStatus(), BotSelectActivateWeapon(), BotSetInfoConfigString(), BotUpdateBattleInventory(), BotUpdateInventory(), BotValidChatPosition(), and BotWantsToCamp().

float invulnerability_time
 

Definition at line 175 of file ai_main.h.

float kamikaze_time
 

Definition at line 174 of file ai_main.h.

int kamikazebody
 

Definition at line 207 of file ai_main.h.

Referenced by BotCheckSnapshot(), and BotClearPath().

float killedenemy_time
 

Definition at line 190 of file ai_main.h.

Referenced by AINode_Seek_LTG(), and BotCheckEvents().

int last_eFlags
 

Definition at line 129 of file ai_main.h.

Referenced by BotSetTeleportTime().

float lastair_time
 

Definition at line 192 of file ai_main.h.

Referenced by BotCheckAir(), BotGoForAir(), and BotReachedGoal().

float lastchat_time
 

Definition at line 173 of file ai_main.h.

Referenced by BotChat_Death(), BotChat_EndLevel(), BotChat_EnemySuicide(), BotChat_EnterGame(), BotChat_ExitGame(), BotChat_HitNoDeath(), BotChat_HitNoKill(), BotChat_HitTalking(), BotChat_Kill(), BotChat_Random(), and BotChat_StartLevel().

int lastenemyareanum
 

Definition at line 218 of file ai_main.h.

Referenced by AINode_Battle_Chase(), AINode_Battle_Fight(), AINode_Battle_NBG(), AINode_Battle_Retreat(), BotAimAtEnemy(), and BotAttackMove().