gNPC_t Struct Reference

#include <b_public.h>


Data Fields

int timeOfDeath
gentity_ttouchedByPlayer
visibility_t enemyLastVisibility
int aimTime
float desiredYaw
float desiredPitch
float lockedDesiredYaw
float lockedDesiredPitch
gentity_taimingBeam
vec3_t enemyLastSeenLocation
int enemyLastSeenTime
vec3_t enemyLastHeardLocation
int enemyLastHeardTime
int lastAlertID
int eFlags
int aiFlags
int currentAmmo
int shotTime
int burstCount
int burstMin
int burstMean
int burstMax
int burstSpacing
int attackHold
int attackHoldTime
vec3_t shootAngles
rank_t rank
bState_t behaviorState
bState_t defaultBehavior
bState_t tempBehavior
qboolean ignorePain
int duckDebounceTime
int walkDebounceTime
int enemyCheckDebounceTime
int investigateDebounceTime
int investigateCount
vec3_t investigateGoal
int investigateSoundDebounceTime
int greetingDebounceTime
gentity_teventOwner
gentity_tcoverTarg
jumpState_t jumpState
float followDist
gentity_ttempGoal
gentity_tgoalEntity
gentity_tlastGoalEntity
gentity_teventualGoal
gentity_tcaptureGoal
gentity_tdefendEnt
gentity_tgreetEnt
int goalTime
qboolean straightToGoal
float distToGoal
int navTime
int blockingEntNum
int blockedSpeechDebounceTime
int lastSideStepSide
int sideStepHoldTime
int homeWp
AIGroupInfo_tgroup
vec3_t lastPathAngles
gNPCstats_t stats
int aimErrorDebounceTime
float lastAimErrorYaw
float lastAimErrorPitch
vec3_t aimOfs
int currentAim
int currentAggression
int scriptFlags
int desiredSpeed
int currentSpeed
char last_forwardmove
char last_rightmove
vec3_t lastClearOrigin
int consecutiveBlockedMoves
int blockedDebounceTime
int shoveCount
vec3_t blockedDest
int combatPoint
int lastFailedCombatPoint
int movementSpeech
float movementSpeechChance
int nextBStateThink
usercmd_t last_ucmd
qboolean combatMove
int goalRadius
int pauseTime
int standTime
int localState
int squadState
int confusionTime
int charmedTime
int controlledTime
int surrenderTime
vec3_t enemyLaggedPos [ENEMY_POS_LAG_STEPS]
gentity_twatchTarget
int ffireCount
int ffireDebounce
int ffireFadeDebounce


Field Documentation

int gNPC_t::aiFlags
 

Definition at line 138 of file b_public.h.

Referenced by Boba_FlyStart(), Boba_FlyStop(), ChangeWeapon(), ClientThink_real(), Initialize(), NAV_AvoidCollision(), NAV_ClearBlockedInfo(), NAV_SetBlockedInfo(), NAVNEW_MoveToGoal(), NPC_Begin(), NPC_BSJedi_FollowLeader(), NPC_BSJump(), NPC_BSSearch(), NPC_BSSearchStart(), NPC_GetMoveDirectionAltRoute(), NPC_HandleAIFlags(), NPC_ReachedGoal(), NPC_Seeker_Pain(), NPC_SetFX_SpawnStates(), NPC_SetMiscDefaultData(), NPC_SetPainEvent(), NPC_Spawn_Do(), NPC_Touch(), ReachedGoal(), ShootThink(), and ST_Commander().

int gNPC_t::aimErrorDebounceTime
 

Definition at line 199 of file b_public.h.

Referenced by NPC_AimWiggle(), and NPC_UpdateFiringAngles().

gentity_t* gNPC_t::aimingBeam
 

Definition at line 129 of file b_public.h.

vec3_t gNPC_t::aimOfs
 

Definition at line 202 of file b_public.h.

Referenced by NPC_AimWiggle().

int gNPC_t::aimTime
 

Definition at line 124 of file b_public.h.

Referenced by NPC_BSFace(), NPC_BSPointShoot(), NPC_UpdateAngles(), and NPC_UpdateFiringAngles().

int gNPC_t::attackHold
 

Definition at line 147 of file b_public.h.

Referenced by ChangeWeapon(), and NPC_CheckAttackHold().

int gNPC_t::attackHoldTime
 

Definition at line 148 of file b_public.h.

Referenced by NPC_CheckAttackHold(), and NPC_ExecuteBState().

bState_t gNPC_t::behaviorState
 

Definition at line 155 of file b_public.h.

Referenced by G_ActivateBehavior(), G_VehicleSpawn(), NPC_Begin(), NPC_BSPatrol(), NPC_BSSearch(), NPC_BSStandGuard(), NPC_CheckInvestigate(), NPC_ExecuteBState(), NPC_GalakMech_Init(), NPC_LostEnemyDecideChase(), NPC_Pain(), NPC_PickEnemy(), NPC_SetMiscDefaultData(), NPC_Spawn_Do(), NPC_StartFlee(), NPC_Touch(), and ST_Commander().

int gNPC_t::blockedDebounceTime
 

Definition at line 216 of file b_public.h.

Referenced by NPC_BSGM_Attack().

vec3_t gNPC_t::blockedDest
 

Definition at line 218 of file b_public.h.

Referenced by NAVNEW_MoveToGoal(), NPC_BSJedi_FollowLeader(), and NPC_GetMoveInformation().

int gNPC_t::blockedSpeechDebounceTime
 

Definition at line 189 of file b_public.h.

Referenced by G_AddVoiceEvent(), G_CheckVictoryScript(), Jedi_PlayBlockedPushSound(), Jedi_PlayDeflectSound(), NPC_Blocked(), NPC_BSGM_Attack(), NPC_GM_Pain(), NPC_Pain(), NPC_PlayConfusionSound(), NPC_SetBlocked(), NPC_Surrender(), NPC_UseResponse(), and ST_Commander().

int gNPC_t::blockingEntNum
 

Definition at line 188 of file b_public.h.

Referenced by NAV_ClearBlockedInfo(), NAV_ResolveBlock(), NAV_SetBlockedInfo(), NAVNEW_CheckDoubleBlock(), NPC_Blocked(), NPC_ClearBlocked(), NPC_SetBlocked(), and ST_Commander().

int gNPC_t::burstCount
 

Definition at line 142 of file b_public.h.

Referenced by ChangeWeapon(), Mark1_BlasterAttack(), NPC_Sentry_Pain(), Sentry_Fire(), Sentry_Idle(), Sentry_RangedAttack(), and ShootThink().

int gNPC_t::burstMax
 

Definition at line 145 of file b_public.h.

Referenced by Boba_FireDecide(), ChangeWeapon(), and ShootThink().

int gNPC_t::burstMean
 

Definition at line 144 of file b_public.h.

Referenced by Boba_FireDecide(), and ChangeWeapon().

int gNPC_t::burstMin
 

Definition at line 143 of file b_public.h.

Referenced by Boba_FireDecide(), ChangeWeapon(), and ShootThink().

int gNPC_t::burstSpacing
 

Definition at line 146 of file b_public.h.

Referenced by Boba_FireDecide(), ChangeWeapon(), NPC_AttackDebounceForWeapon(), and ShootThink().

gentity_t* gNPC_t::captureGoal
 

Definition at line 181 of file b_public.h.

Referenced by NPC_BSAdvanceFight().

int gNPC_t::charmedTime
 

Definition at line 252 of file b_public.h.

Referenced by ForceTelepathyCheckDirectNPCTarget(), G_SetEnemy(), NPC_ApplyScriptFlags(), NPC_CheckCharmed(), NPC_Pain(), and NPC_RunBehavior().

qboolean gNPC_t::combatMove
 

Definition at line 233 of file b_public.h.

Referenced by ATST_Hunt(), ClientThink_real(), Howler_Combat(), Mark1_Hunt(), Mark2_Hunt(), MineMonster_Combat(), NPC_BSDefault(), NPC_CheckCombatMove(), NPC_ExecuteBState(), NPC_SlideMoveToGoal(), Rancor_Combat(), and Wampa_Combat().

int gNPC_t::combatPoint
 

Definition at line 221 of file b_public.h.

Referenced by NPC_SetCombatPoint(), NPC_Spawn_Do(), player_die(), ST_ApproachEnemy(), ST_Commander(), ST_HuntEnemy(), ST_TrackEnemy(), and ST_TransferMoveGoal().

int gNPC_t::confusionTime
 

Definition at line 251 of file b_public.h.

Referenced by AI_ValidateGroupMember(), ForceTelepathyCheckDirectNPCTarget(), G_SetEnemy(), NPC_BSFollowLeader(), NPC_BSGrenadier_Patrol(), NPC_BSJedi_Default(), NPC_BSRancor_Default(), NPC_BSSniper_Patrol(), NPC_BSST_Investigate(), NPC_BSST_Patrol(), NPC_BSWampa_Default(), NPC_FindEnemy(), and NPC_Pain().

int gNPC_t::consecutiveBlockedMoves
 

Definition at line 215 of file b_public.h.

Referenced by NAVNEW_AvoidCollision(), NPC_HandleAIFlags(), NPC_Rancor_Pain(), Rancor_Combat(), and Rancor_Move().

int gNPC_t::controlledTime
 

Definition at line 253 of file b_public.h.

gentity_t* gNPC_t::coverTarg
 

Definition at line 172 of file b_public.h.

Referenced by NPC_BSGM_Attack().

int gNPC_t::currentAggression
 

Definition at line 204 of file b_public.h.

int gNPC_t::currentAim
 

Definition at line 203 of file b_public.h.

Referenced by AI_GroupMemberKilled(), G_AimSet(), NPC_AimAdjust(), and NPC_BSGM_Attack().

int gNPC_t::currentAmmo
 

Definition at line 140 of file b_public.h.

Referenced by ChangeWeapon(), NPC_Begin(), NPC_SetWeapons(), and ShootThink().

int gNPC_t::currentSpeed
 

Definition at line 211 of file b_public.h.

Referenced by ClientThink_real(), and NPC_Accelerate().

bState_t gNPC_t::defaultBehavior
 

Definition at line 156 of file b_public.h.

Referenced by NPC_ExecuteBState(), NPC_Pain(), NPC_ParseParms(), NPC_SetMiscDefaultData(), and NPC_Spawn_Do().

gentity_t* gNPC_t::defendEnt
 

Definition at line 182 of file b_public.h.

Referenced by NPC_CheckEnemy().

float gNPC_t::desiredPitch
 

Definition at line 126 of file b_public.h.

Referenced by Boba_FireDecide(), NPC_Begin(), NPC_BSAdvanceFight(), NPC_BSCinematic(), NPC_BSDefault(), NPC_BSEmplaced(), NPC_BSFace(), NPC_BSFlee(), NPC_BSFollowLeader(), NPC_BSGM_Attack(), NPC_BSGrenadier_Attack(), NPC_BSGrenadier_Patrol(), NPC_BSJump(), NPC_BSPointShoot(), NPC_BSSniper_Attack(), NPC_BSSniper_Patrol(), NPC_BSST_Attack(), NPC_BSST_Patrol(), NPC_BSStandAndShoot(), NPC_CheckCanAttack(), NPC_FacePosition(), NPC_MoveToGoal(), NPC_UpdateAngles(), NPC_UpdateFiringAngles(), and Sniper_FaceEnemy().

int gNPC_t::desiredSpeed
 

Definition at line 210 of file b_public.h.

Referenced by ClientThink_real(), and NPC_Accelerate().

float gNPC_t::desiredYaw
 

Definition at line 125 of file b_public.h.

Referenced by Boba_FireDecide(), ClientThink_real(), Droid_Patrol(), Droid_Spin(), ImperialProbe_Wait(), NPC_Begin(), NPC_BSCinematic(), NPC_BSDefault(), NPC_BSEmplaced(), NPC_BSFace(), NPC_BSFlee(), NPC_BSFollowLeader(), NPC_BSGM_Attack(), NPC_BSGrenadier_Attack(), NPC_BSGrenadier_Patrol(), NPC_BSJump(), NPC_BSNoClip(), NPC_BSPointShoot(), NPC_BSSearch(), NPC_BSSniper_Attack(), NPC_BSSniper_Patrol(), NPC_BSST_Attack(), NPC_BSST_Patrol(), NPC_BSStandAndShoot(), NPC_BSWander(), NPC_CheckCanAttack(), NPC_FacePosition(), NPC_GetMoveDirection(), NPC_GetMoveDirectionAltRoute(), NPC_MoveToGoal(), NPC_SlideMoveToGoal(), NPC_Spawn_Do(), NPC_UpdateAngles(), NPC_UpdateFiringAngles(), R2D2_TurnAnims(), Remote_Attack(), and Sniper_FaceEnemy().

float gNPC_t::distToGoal
 

Definition at line 186 of file b_public.h.

Referenced by ClientThink_real(), NPC_BSFlee(), and NPC_MoveToGoal().

int gNPC_t::duckDebounceTime
 

Definition at line 161 of file b_public.h.

Referenced by NPC_BSRunAndShoot(), NPC_BSStandAndShoot(), and NPC_StandTrackAndShoot().

int gNPC_t::eFlags
 

Definition at line 137 of file b_public.h.

int gNPC_t::enemyCheckDebounceTime
 

Definition at line 163 of file b_public.h.

Referenced by NPC_BSFollowLeader(), NPC_BSGM_Attack(), NPC_BSJedi_Default(), NPC_BSPatrol(), NPC_Jedi_Pain(), and Seeker_FollowOwner().

vec3_t gNPC_t::enemyLaggedPos[ENEMY_POS_LAG_STEPS]
 

Definition at line 257 of file b_public.h.

Referenced by Sniper_FaceEnemy(), and Sniper_UpdateEnemyPos().

vec3_t gNPC_t::enemyLastHeardLocation
 

Definition at line 133 of file b_public.h.

Referenced by NPC_CheckPossibleEnemy().

int gNPC_t::enemyLastHeardTime
 

Definition at line 134 of file b_public.h.

Referenced by NPC_CheckPossibleEnemy().

vec3_t gNPC_t::enemyLastSeenLocation
 

Definition at line 131 of file b_public.h.

Referenced by Boba_FireDecide(), NPC_BSEmplaced(), NPC_BSGM_Attack(), NPC_BSGrenadier_Attack(), NPC_BSSniper_Attack(), NPC_BSST_Attack(), and NPC_CheckPossibleEnemy().

int gNPC_t::enemyLastSeenTime
 

Definition at line 132 of file b_public.h.

Referenced by AI_GetGroup(), Boba_FireDecide(), Jedi_CheckAmbushPlayer(), Jedi_CheckDanger(), NPC_BSFollowLeader(), NPC_BSGM_Attack(), NPC_BSGrenadier_Attack(), NPC_BSSniper_Attack(), NPC_BSST_Attack(), NPC_CheckEnemyStealth(), and NPC_CheckPossibleEnemy().

visibility_t gNPC_t::enemyLastVisibility
 

Definition at line 122 of file b_public.h.

Referenced by NPC_BSAdvanceFight(), and NPC_CheckCanAttack().

gentity_t* gNPC_t::eventOwner
 

Definition at line 169 of file b_public.h.

Referenced by NPC_CheckInvestigate().

gentity_t* gNPC_t::eventualGoal
 

Definition at line 180 of file b_public.h.

int gNPC_t::ffireCount
 

Definition at line 261 of file b_public.h.

Referenced by NPC_HandleAIFlags(), and NPC_Pain().

int gNPC_t::ffireDebounce
 

Definition at line 262 of file b_public.h.

int gNPC_t::ffireFadeDebounce
 

Definition at line 263 of file b_public.h.

Referenced by NPC_HandleAIFlags().

float gNPC_t::followDist
 

Definition at line 174 of file b_public.h.

Referenced by NPC_BSFollowLeader().

gentity_t* gNPC_t::goalEntity
 

Definition at line 178 of file b_public.h.

Referenced by ATST_Hunt(), G_ClearEnemy(), Howler_Combat(), Howler_Move(), ImperialProbe_Hunt(), ImperialProbe_MaintainHeight(), Interrogator_Hunt(), Interrogator_MaintainHeight(), Mark1_Hunt(), Mark2_Hunt(), MineMonster_Combat(), MineMonster_Move(), NAV_MoveToGoal(), NAVNEW_MoveToGoal(), NPC_BSATST_Default(), NPC_BSDefault(), NPC_BSFlee(), NPC_BSFollowLeader(), NPC_BSGM_Attack(), NPC_BSGrenadier_Attack(), NPC_BSHuntAndKill(), NPC_BSImperialProbe_Default(), NPC_BSJedi_FollowLeader(), NPC_BSJump(), NPC_BSMark1_Default(), NPC_BSMark2_Default(), NPC_BSNoClip(), NPC_BSRunAndShoot(), NPC_BSSearch(), NPC_BSSniper_Attack(), NPC_BSST_Attack(), NPC_BSST_Investigate(), NPC_BSWander(), NPC_CheckCombatMove(), NPC_CheckGetNewWeapon(), NPC_CheckInvestigate(), NPC_GetMoveDirection(), NPC_GetMoveDirectionAltRoute(), NPC_GetMoveInformation(), NPC_HandleAIFlags(), NPC_LostEnemyDecideChase(), NPC_MoveDirClear(), NPC_SetGoal(), NPC_SetMoveGoal(), NPC_Touch(), Rancor_Combat(), Rancor_Move(), Remote_Hunt(), Remote_MaintainHeight(), Seeker_FollowOwner(), Seeker_Hunt(), Seeker_MaintainHeight(), Sentry_Hunt(), Sentry_MaintainHeight(), SetGoal(), ST_Commander(), ST_HuntEnemy(), ST_TransferMoveGoal(), Touch_Item(), UpdateGoal(), Wampa_Combat(), and Wampa_Move().

int gNPC_t::goalRadius
 

Definition at line 234 of file b_public.h.

Referenced by Howler_Combat(), Howler_Move(), ImperialProbe_Hunt(), Interrogator_Hunt(), MineMonster_Combat(), MineMonster_Move(), NAV_ClearPathToPoint(), NPC_BSHuntAndKill(), NPC_BSRunAndShoot(), NPC_CheckInvestigate(), NPC_ClearPathToGoal(), NPC_SetMoveGoal(), Rancor_Combat(), Rancor_Move(), ReachedGoal(), Remote_Hunt(), Seeker_FollowOwner(), Seeker_Hunt(), Sentry_Hunt(), ST_TransferMoveGoal(), Wampa_Combat(), and Wampa_Move().

int gNPC_t::goalTime
 

Definition at line 184 of file b_public.h.

Referenced by NPC_BSAdvanceFight(), NPC_BSJump(), NPC_ReachedGoal(), and SetGoal().

gentity_t* gNPC_t::greetEnt
 

Definition at line 183 of file b_public.h.

int gNPC_t::greetingDebounceTime
 

Definition at line 168 of file b_public.h.

Referenced by G_CheckVictoryScript(), and NPC_HandleAIFlags().

AIGroupInfo_t* gNPC_t::group
 

Definition at line 193 of file b_public.h.

Referenced by AI_DeleteSelfFromGroup(), AI_FindSelfInPreviousGroup(), AI_GetGroup(), AI_GetNextEmptyGroup(), AI_GroupMemberKilled(), AI_InsertGroupMember(), AI_ValidateGroupMember(), Boba_FireDecide(), G_CheckVictoryScript(), NPC_BSST_Attack(), NPC_ST_SayMovementSpeech(), NPC_StartFlee(), player_die(), ST_Commander(), ST_GetCPFlags(), ST_MarkToCover(), ST_ResolveBlockedShot(), ST_StartFlee(), and ST_TransferMoveGoal().

int gNPC_t::homeWp
 

Definition at line 192 of file b_public.h.

Referenced by NPC_Begin(), NPC_BSSearch(), NPC_BSSearchStart(), and NPC_BSWampa_Default().

qboolean gNPC_t::ignorePain
 

Definition at line 159 of file b_public.h.

Referenced by NPC_Pain().

int gNPC_t::investigateCount
 

Definition at line 165 of file b_public.h.

Referenced by NPC_BSGM_Default(), NPC_BSST_Investigate(), NPC_CheckInvestigate(), NPC_GalakMech_Init(), NPC_Grenadier_PlayConfusionSound(), NPC_PlayConfusionSound(), and NPC_Sniper_PlayConfusionSound().

int gNPC_t::investigateDebounceTime
 

Definition at line 164 of file b_public.h.

Referenced by NPC_BSGM_Default(), NPC_BSGrenadier_Patrol(), NPC_BSSearch(), NPC_BSSearchStart(), NPC_BSSniper_Patrol(), NPC_BSST_Investigate(), NPC_BSWander(), NPC_CheckInvestigate(), NPC_GalakMech_Init(), and NPC_PlayConfusionSound().

vec3_t gNPC_t::investigateGoal
 

Definition at line 166 of file b_public.h.

Referenced by NPC_BSFlee(), NPC_BSGrenadier_Patrol(), NPC_BSSniper_Patrol(), NPC_CheckInvestigate(), and NPC_StartFlee().

int gNPC_t::investigateSoundDebounceTime
 

Definition at line 167 of file b_public.h.

Referenced by NPC_BSPatrol().

jumpState_t gNPC_t::jumpState
 

Definition at line 173 of file b_public.h.

Referenced by NPC_BSJump().

char gNPC_t::last_forwardmove
 

Definition at line 212 of file b_public.h.

char gNPC_t::last_rightmove
 

Definition at line 213 of file b_public.h.

usercmd_t gNPC_t::last_ucmd
 

Definition at line 228 of file b_public.h.

Referenced by ClientThink_real(), NPC_ExecuteBState(), NPC_Think(), and WP_SaberStartMissileBlockCheck().

float gNPC_t::lastAimErrorPitch
 

Definition at line 201 of file b_public.h.

Referenced by NPC_UpdateFiringAngles().

float gNPC_t::lastAimErrorYaw
 

Definition at line 200 of file b_public.h.

Referenced by NPC_UpdateFiringAngles().

int gNPC_t::lastAlertID
 

Definition at line 135 of file b_public.h.

Referenced by NPC_BSDefault(), NPC_BSFollowLeader(), NPC_BSGrenadier_Patrol(), NPC_BSSniper_Patrol(), and NPC_BSST_Investigate().

vec3_t gNPC_t::lastClearOrigin
 

Definition at line 214 of file b_public.h.

Referenced by NPC_Begin(), and NPC_CheckInSolid().

int gNPC_t::lastFailedCombatPoint
 

Definition at line 222 of file b_public.h.

Referenced by NPC_FreeCombatPoint(), ST_Commander(), and ST_TransferMoveGoal().

gentity_t* gNPC_t::lastGoalEntity
 

Definition at line 179 of file b_public.h.

Referenced by ImperialProbe_MaintainHeight(), Interrogator_MaintainHeight(), NPC_BSFlee(), NPC_ClearGoal(), NPC_SetGoal(), Remote_MaintainHeight(), Seeker_MaintainHeight(), and Sentry_MaintainHeight().

vec3_t gNPC_t::lastPathAngles
 

Definition at line 195 of file b_public.h.

Referenced by NPC_BSGM_Attack(), NPC_BSGrenadier_Attack(), NPC_BSSniper_Attack(), NPC_BSST_Attack(), NPC_Droid_Pain(), NPC_Howler_Pain(), NPC_MineMonster_Pain(), NPC_MoveToGoal(), NPC_Probe_Pain(), NPC_Rancor_Pain(), and NPC_Wampa_Pain().

int gNPC_t::lastSideStepSide
 

Definition at line 190 of file b_public.h.

Referenced by NAVNEW_SidestepBlocker().

int gNPC_t::localState
 

Definition at line 245 of file b_public.h.

Referenced by Droid_Pain(), Droid_Spin(), Howler_Combat(), Howler_Move(), Howler_Patrol(), ImperialProbe_Wait(), Interrogator_PartsMove(), Mark1_FireBlaster(), Mark2_AttackDecision(), Mark2_BlasterAttack(), MineMonster_Combat(), MineMonster_Move(), MineMonster_Patrol(), NPC_BSDroid_Default(), NPC_BSImperialProbe_Default(), NPC_BSSentry_Default(), NPC_BSST_Investigate(), NPC_Droid_Pain(), NPC_Grenadier_Pain(), NPC_Howler_Pain(), NPC_MineMonster_Pain(), NPC_Probe_Pain(), NPC_Rancor_Pain(), NPC_Sentry_Pain(), NPC_Sniper_Pain(), NPC_ST_Pain(), NPC_Wampa_Pain(), Rancor_Combat(), Rancor_Idle(), Rancor_Move(), Rancor_Patrol(), Sentry_Fire(), Sentry_Idle(), Sentry_RangedAttack(), sentry_use(), ST_Commander(), ST_MarkToCover(), Wampa_Combat(), Wampa_Idle(), Wampa_Move(), and Wampa_Patrol().

float gNPC_t::lockedDesiredPitch
 

Definition at line 128 of file b_public.h.

Referenced by NPC_BSCinematic(), NPC_BSJump(), NPC_BSPointShoot(), NPC_UpdateAngles(), and NPC_UpdateFiringAngles().

float gNPC_t::lockedDesiredYaw
 

Definition at line 127 of file b_public.h.

Referenced by ClientThink_real(), NPC_BSCinematic(), NPC_BSJump(), NPC_BSPointShoot(), NPC_UpdateAngles(), and NPC_UpdateFiringAngles().

int gNPC_t::movementSpeech
 

Definition at line 223 of file b_public.h.

Referenced by NPC_BSGM_Attack(), NPC_ST_SayMovementSpeech(), and NPC_ST_StoreMovementSpeech().

float gNPC_t::movementSpeechChance
 

Definition at line 224 of file b_public.h.

Referenced by NPC_ST_SayMovementSpeech(), and NPC_ST_StoreMovementSpeech().

int gNPC_t::navTime
 

Definition at line 187 of file b_public.h.

int gNPC_t::nextBStateThink
 

Definition at line 227 of file b_public.h.

Referenced by NPC_RemoveBody(), NPC_Think(), player_die(), Rancor_Attack(), and Rancor_DropVictim().

int gNPC_t::pauseTime
 

Definition at line 242 of file b_public.h.

Referenced by NPC_BSST_Investigate(), and NPC_PlayConfusionSound().

rank_t gNPC_t::rank
 

Definition at line 152 of file b_public.h.

Referenced by AI_GroupMemberKilled(), AI_InsertGroupMember(), AI_RefreshGroup(), AI_SetNewGroupCommander(), G_AttackDelay(), G_CheckVictoryScript(), G_SetEnemy(), Jedi_CheckFlipEvasions(), Jedi_QuickReactions(), Jedi_ReCalcParryTime(), Jedi_SaberBlockGo(), NPC_CheckEnemyStealth(), NPC_ChoosePainAnimation(), NPC_Jedi_Pain(), NPC_ParseParms(), NPC_SetMiscDefaultData(), NPC_Think(), and ST_Commander().

int gNPC_t::scriptFlags
 

Definition at line 207 of file b_public.h.

Referenced by AI_GetGroup(), AI_ValidateGroupMember(), ATST_Attack(), ATST_Ranged(), Boba_FireDecide(), ChangeWeapon(), CheckItemCanBePickedUpByNPC(), ForceTelepathyCheckDirectNPCTarget(), G_AddVoiceEvent(), G_AlertTeam(), G_AngerAlert(), G_AttackDelay(), G_CheckForDanger(), G_TeamEnemy(), ImperialProbe_AttackDecision(), ImperialProbe_Ranged(), Interrogator_Attack(), Interrogator_Melee(), Jedi_CheckFlipEvasions(), Jedi_SaberBlockGo(), NPC_ApplyScriptFlags(), NPC_BSATST_Default(), NPC_BSCinematic(), NPC_BSDefault(), NPC_BSDroid_Default(), NPC_BSEmplaced(), NPC_BSFollowLeader(), NPC_BSGM_Attack(), NPC_BSGM_Default(), NPC_BSGrenadier_Attack(), NPC_BSGrenadier_Default(), NPC_BSGrenadier_Patrol(), NPC_BSHowler_Default(), NPC_BSImperialProbe_Default(), NPC_BSJedi_Default(), NPC_BSMark1_Default(), NPC_BSMark2_Default(), NPC_BSMineMonster_Default(), NPC_BSRancor_Default(), NPC_BSRemote_Default(), NPC_BSSentry_Default(), NPC_BSSniper_Attack(), NPC_BSSniper_Patrol(), NPC_BSST_Attack(), NPC_BSST_Default(), NPC_BSST_Investigate(), NPC_BSST_Patrol(), NPC_BSST_Sleep(), NPC_BSWampa_Default(), NPC_CheckCanAttack(), NPC_CheckCanAttackExt(), NPC_CheckEnemyStealth(), NPC_DefaultScriptFlags(), NPC_Droid_Pain(), NPC_ExecuteBState(), NPC_GM_Pain(), NPC_MaxDistSquaredForWeapon(), NPC_Pain(), NPC_ParseParms(), NPC_Respond(), NPC_RunBehavior(), NPC_SetMiscDefaultData(), NPC_Use(), player_die(), Remote_Attack(), Remote_Ranged(), Seeker_Attack(), Seeker_Ranged(), Sentry_AttackDecision(), Sentry_Idle(), Sentry_RangedAttack(), ST_Commander(), ST_GetCPFlags(), and ST_HuntEnemy().

vec3_t gNPC_t::shootAngles
 

Definition at line 149 of file b_public.h.

Referenced by CalcEntitySpot(), NPC_BSAdvanceFight(), and NPC_UpdateShootAngles().

int gNPC_t::shotTime
 

Definition at line 141 of file b_public.h.

Referenced by ChangeWeapon(), NPC_Begin(), NPC_BSGrenadier_Attack(), NPC_BSSniper_Attack(), NPC_CheckAttack(), ShootThink(), and Sniper_FaceEnemy().

int gNPC_t::shoveCount
 

Definition at line 217 of file b_public.h.

Referenced by NAVNEW_MoveToGoal(), and NAVNEW_PushBlocker().

int gNPC_t::sideStepHoldTime
 

Definition at line 191 of file b_public.h.

Referenced by NAVNEW_SidestepBlocker().

int gNPC_t::squadState
 

Definition at line 246 of file b_public.h.

Referenced by AI_GroupUpdateSquadstates(), AI_InsertGroupMember(), AI_RefreshGroup(), NPC_BSFlee(), NPC_Grenadier_PlayConfusionSound(), NPC_SetPickUpGoal(), NPC_Sniper_PlayConfusionSound(), NPC_StartFlee(), ST_Commander(), ST_TransferMoveGoal(), and Touch_Item().

int gNPC_t::standTime
 

Definition at line 243 of file b_public.h.

Referenced by ImperialProbe_Hunt(), ImperialProbe_Strafe(), Interrogator_Hunt(), Interrogator_Strafe(), Remote_Hunt(), Remote_Strafe(), Seeker_Hunt(), Seeker_Strafe(), Sentry_Hunt(), Sentry_Strafe(), and WP_SaberStartMissileBlockCheck().

gNPCstats_t gNPC_t::stats
 

Definition at line 198 of file b_public.h.

Referenced by ClientThink_real(), G_AlertTeam(), G_CheckAlertEvents(), G_SetEnemy(), IdealDistance(), Initialize(), InVisrange(), NPC_Accelerate(), NPC_AimAdjust(), NPC_Begin(), NPC_BSFollowLeader(), NPC_BSPatrol(), NPC_BSRunAndShoot(), NPC_BSSniper_Patrol(), NPC_CheckAlertEvents(), NPC_CheckAttack(), NPC_CheckCanAttack(), NPC_CheckDefend(), NPC_CheckEnemyStealth(), NPC_CheckInvestigate(), NPC_CheckVisibility(), NPC_FindCombatPoint(), NPC_FindNearestEnemy(), NPC_Jedi_Pain(), NPC_Jedi_RateNewEnemy(), NPC_MaxDistSquaredForWeapon(), NPC_MoveToGoal(), NPC_ParseParms(), NPC_ReactionTime(), NPC_TargetVisible(), NPC_UpdateAngles(), NPC_UpdateFiringAngles(), NPC_UpdateShootAngles(), Sniper_FaceEnemy(), ST_AggressionAdjust(), and Wampa_Move().

qboolean gNPC_t::straightToGoal
 

Definition at line 185 of file b_public.h.

int gNPC_t::surrenderTime
 

Definition at line 254 of file b_public.h.

Referenced by CheckItemCanBePickedUpByNPC(), NPC_ExecuteBState(), and NPC_Surrender().

bState_t gNPC_t::tempBehavior
 

Definition at line 157 of file b_public.h.

Referenced by G_ActivateBehavior(), NPC_BSFlee(), NPC_BSFollowLeader(), NPC_BSHuntAndKill(), NPC_BSRunAndShoot(), NPC_BSSearch(), NPC_BSSearchStart(), NPC_BSST_Investigate(), NPC_BSStandGuard(), NPC_BSWampa_Default(), NPC_CheckCharmed(), NPC_CheckInvestigate(), NPC_ExecuteBState(), NPC_Grenadier_PlayConfusionSound(), NPC_Pain(), NPC_PlayConfusionSound(), NPC_SetPickUpGoal(), NPC_Sniper_PlayConfusionSound(), NPC_StartFlee(), and NPC_Touch().

gentity_t* gNPC_t::tempGoal
 

Definition at line 177 of file b_public.h.

Referenced by NPC_BSFlee(), NPC_BSSearch(), NPC_BSSearchStart(), NPC_BSWander(), NPC_CheckGetNewWeapon(), NPC_SetMoveGoal(), NPC_SetPickUpGoal(), NPC_Spawn_Do(), player_die(), ST_Commander(), and ST_TransferMoveGoal().

int gNPC_t::timeOfDeath
 

Definition at line 119 of file b_public.h.

Referenced by NPC_Begin(), NPC_RemoveBody(), and player_die().

gentity_t* gNPC_t::touchedByPlayer
 

Definition at line 120 of file b_public.h.

Referenced by CanShoot(), NPC_BSGM_Attack(), NPC_ExecuteBState(), and NPC_Touch().

int gNPC_t::walkDebounceTime
 

Definition at line 162 of file b_public.h.

gentity_t* gNPC_t::watchTarget
 

Definition at line 259 of file b_public.h.

Referenced by NPC_BSCinematic(), and NPC_CheckCombatMove().


The documentation for this struct was generated from the following file: