Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
npc_escortAI Struct Referenceabstract

#include <ScriptedEscortAI.h>

Inheritance diagram for npc_escortAI:
Collaboration diagram for npc_escortAI:

Public Member Functions

void AddWaypoint (uint32 id, float x, float y, float z, uint32 waitTime=0)
void AttackStart (Unit *who) OVERRIDE
void EnterEvadeMode () OVERRIDE
bool GetAttack () const
uint64 GetEventStarterGUID () const
float GetMaxPlayerDistance () const
bool GetWaypointPosition (uint32 pointId, float &x, float &y, float &z)
bool HasEscortState (uint32 escortState) const
virtual bool IsEscorted () OVERRIDE
void JustDied (Unit *) OVERRIDE
void JustRespawned () OVERRIDE
void MoveInLineOfSight (Unit *who) OVERRIDE
void MovementInform (uint32, uint32) OVERRIDE
 npc_escortAI (Creature *creature)
void ReturnToLastPoint ()
void SetCanAttack (bool attack)
void SetDespawnAtEnd (bool despawn)
void SetDespawnAtFar (bool despawn)
void SetEscortPaused (bool on)
void SetMaxPlayerDistance (float newMax)
bool SetNextWaypoint (uint32 pointId, bool setPosition=true, bool resetWaypointsOnFail=true)
bool SetNextWaypoint (uint32 pointId, float x, float y, float z, float orientation)
void SetRun (bool on=true)
void Start (bool isActiveAttacker=true, bool run=false, uint64 playerGUID=0, Quest const *quest=NULL, bool instantRespawn=false, bool canLoopPath=false, bool resetWaypoints=true)
void UpdateAI (uint32 diff) OVERRIDE
 == Triggered Actions Requested ==================
virtual void UpdateEscortAI (uint32 const diff)
virtual void WaypointReached (uint32 pointId)=0
virtual void WaypointStart (uint32)
 ~npc_escortAI ()
Public Member Functions inherited from ScriptedAI
void AttackStart (Unit *) OVERRIDE
void AttackStartNoMove (Unit *target)
void DamageTaken (Unit *, uint32 &) OVERRIDE
void DoCastSpell (Unit *target, SpellInfo const *spellInfo, bool triggered=false)
std::list< Creature * > DoFindFriendlyCC (float range)
std::list< Creature * > DoFindFriendlyMissingBuff (float range, uint32 spellId)
float DoGetThreat (Unit *unit)
void DoModifyThreatPercent (Unit *unit, int32 pct)
void DoPlaySoundToSet (WorldObject *source, uint32 soundId)
void DoResetThreat ()
UnitDoSelectLowestHpFriendly (float range, uint32 minHPDiff=1)
CreatureDoSpawnCreature (uint32 entry, float offsetX, float offsetY, float offsetZ, float angle, TempSummonType type, uint32 despawntime)
void DoStartMovement (Unit *target, float distance=0.0f, float angle=0.0f)
void DoStartNoMovement (Unit *target)
void DoStopAttack ()
void DoTeleportAll (float x, float y, float z, float o)
void DoTeleportPlayer (Unit *unit, float x, float y, float z, float o)
void DoTeleportTo (float const pos[4])
void DoTeleportTo (float x, float y, float z, uint32 time=0)
template<class T>
const T & DUNGEON_MODE (const T &normal5, const T &heroic5) const
void EnterCombat (Unit *) OVERRIDE
bool EnterEvadeIfOutOfCombatArea (uint32 const diff)
void ExecuteEvent (uint32) OVERRIDE
DifficultyID GetDifficulty () const
PlayerGetPlayerAtMinimumRange (float minRange)
bool HealthAbovePct (uint32 pct) const
bool HealthBelowPct (uint32 pct) const
bool Is25ManRaid () const
bool IsCombatMovementAllowed () const
bool IsHeroic () const
void JustDied (Unit *) OVERRIDE
void JustSummoned (Creature *) OVERRIDE
void KilledUnit (Unit *) OVERRIDE
void MovementInform (uint32, uint32) OVERRIDE
void OnPossess (bool)
template<class T>
const T & RAID_MODE (const T &normal10, const T &normal25) const
template<class T>
const T & RAID_MODE (const T &normal10, const T &normal25, const T &flex, const T &lfr) const
template<class T>
const T & RAID_MODE (const T &normal10, const T &normal25, const T &heroic10, const T &heroic25, const T &flex, const T &lfr) const
void Reset () OVERRIDE
 ScriptedAI (Creature *creature)
SpellInfo const * SelectSpell (Unit *target, uint32 school, uint32 mechanic, SelectTargetType targets, uint32 powerCostMin, uint32 powerCostMax, float rangeMin, float rangeMax, SelectEffect effect)
void SetCombatMovement (bool allowMovement)
void SetEquipmentSlots (bool loadDefault, int32 mainHand=EQUIP_NO_CHANGE, int32 offHand=EQUIP_NO_CHANGE, int32 ranged=EQUIP_NO_CHANGE)
void SpellHit (Unit *, SpellInfo const *) OVERRIDE
void SpellHitTarget (Unit *, SpellInfo const *) OVERRIDE
void SummonedCreatureDespawn (Creature *) OVERRIDE
void UpdateAI (uint32 diff) OVERRIDE
 == Triggered Actions Requested ==================
virtual ~ScriptedAI ()
Public Member Functions inherited from CreatureAI
virtual void AttackedBy (Unit *)
virtual bool CanRespawn ()
virtual bool CanSeeAlways (WorldObject const *)
bool CanSeeEvenInPassiveMode () const
virtual void CorpseRemoved (uint32 &)
 == State checks =================================
 CreatureAI (Creature *creature)
void DoZoneInCombat (Creature *creature=NULL, float maxRangeToNearestTarget=50.0f)
virtual void IsSummonedBy (Unit *)
virtual void JustReachedHome ()
void MoveInLineOfSight_Safe (Unit *who)
 == Reactions At =================================
void OnCharmed (bool apply)
virtual void OnSpellClick (Unit *, bool &)
virtual void OwnerAttacked (Unit *)
virtual void OwnerAttackedBy (Unit *)
virtual void PassengerBoarded (Unit *, int8, bool)
 == Fields =======================================
virtual void ReceiveEmote (Player *, uint32)
void SetCanSeeEvenInPassiveMode (bool canSeeEvenInPassiveMode)
virtual void SummonedCreatureDies (Creature *, Unit *)
void Talk (uint8 id, WorldObject const *whisperTarget=NULL)
virtual ~CreatureAI ()
Public Member Functions inherited from UnitAI
void AttackStartCaster (Unit *victim, float dist)
virtual bool CanAIAttack (Unit const *) const
virtual void DamageDealt (Unit *, uint32 &, DamageEffectType)
virtual void DoAction (int32)
void DoAddAuraToAllHostilePlayers (uint32 spellid)
void DoCast (uint32 spellId)
void DoCast (Unit *victim, uint32 spellId, bool triggered=false)
void DoCastAOE (uint32 spellId, bool triggered=false)
void DoCastToAllHostilePlayers (uint32 spellid, bool triggered=false)
void DoCastVictim (uint32 spellId, bool triggered=false)
float DoGetSpellMaxRange (uint32 spellId, bool positive=false)
void DoMeleeAttackIfReady ()
bool DoSpellAttackIfReady (uint32 spell)
virtual uint32 GetData (uint32) const
virtual uint64 GetGUID (int32=0) const
virtual void HealDone (Unit *, uint32 &)
virtual void HealReceived (Unit *, uint32 &)
virtual void InitializeAI ()
virtual bool OnGossipHello (Player *player)
template<class PREDICATE>
UnitSelectTarget (SelectAggroTarget targetType, uint32 position, PREDICATE const &predicate)
UnitSelectTarget (SelectAggroTarget targetType, uint32 position=0, float dist=0.0f, bool playerOnly=false, int32 aura=0)
template<class PREDICATE>
void SelectTargetList (std::list< Unit * > &targetList, PREDICATE const &predicate, uint32 maxTargets, SelectAggroTarget targetType)
void SelectTargetList (std::list< Unit * > &targetList, uint32 num, SelectAggroTarget targetType, float dist=0.0f, bool playerOnly=false, int32 aura=0)
virtual void SetData (uint32, uint32)
virtual void SetGUID (uint64, int32=0)
virtual void sGossipHello (Player *)
virtual void sGossipSelect (Player *, uint32, uint32)
virtual void sGossipSelectCode (Player *, uint32, uint32, char const *)
virtual bool sOnDummyEffect (Unit *, uint32, SpellEffIndex)
virtual void sOnGameEvent (bool, uint16)
virtual void SpellInterrupted (uint32, uint32)
virtual void sQuestAccept (Player *, Quest const *)
virtual void sQuestComplete (Player *, Quest const *)
virtual void sQuestReward (Player *, Quest const *, uint32)
virtual void sQuestSelect (Player *, Quest const *)
 UnitAI (Unit *unit)
virtual ~UnitAI ()

Protected Member Functions

PlayerGetPlayerForEscort ()
Protected Member Functions inherited from CreatureAI
bool _EnterEvadeMode ()
CreatureDoSummon (uint32 entry, Position const &pos, uint32 despawnTime=30000, TempSummonType summonType=TempSummonType::TEMPSUMMON_CORPSE_TIMED_DESPAWN)
CreatureDoSummon (uint32 entry, WorldObject *obj, float radius=5.0f, uint32 despawnTime=30000, TempSummonType summonType=TempSummonType::TEMPSUMMON_CORPSE_TIMED_DESPAWN)
CreatureDoSummonFlyer (uint32 entry, WorldObject *obj, float flightZ, float radius=5.0f, uint32 despawnTime=30000, TempSummonType summonType=TempSummonType::TEMPSUMMON_CORPSE_TIMED_DESPAWN)
void SetGazeOn (Unit *target)
bool UpdateVictim ()
bool UpdateVictimWithGaze ()

Private Member Functions

void AddEscortState (uint32 escortState)
bool AssistPlayerInCombat (Unit *who)
void FillPointMovementListForCreature ()
bool IsPlayerOrGroupInRange ()
void RemoveEscortState (uint32 escortState)

Private Attributes

std::list< Escort_Waypoint >::iterator CurrentWP
bool DespawnAtEnd
bool DespawnAtFar
bool HasImmuneToNPCFlags
bool m_bCanInstantRespawn
bool m_bCanReturnToStart
bool m_bIsActiveAttacker
bool m_bIsRunning
Quest const * m_pQuestForEscort
uint32 m_uiEscortState
uint32 m_uiPlayerCheckTimer
uint64 m_uiPlayerGUID
uint32 m_uiWPWaitTimer
float MaxPlayerDistance
bool ScriptWP
std::list< Escort_WaypointWaypointList

Additional Inherited Members

Static Public Member Functions inherited from UnitAI
static void FillAISpellInfo ()
Public Attributes inherited from ScriptedAI
bool IsFleeing
Creatureme
Static Public Attributes inherited from UnitAI
static AISpellInfoTypeAISpellInfo
Protected Attributes inherited from CreatureAI
Creature *const me
Protected Attributes inherited from UnitAI
Unit *const me

Detailed Description

Definition at line 40 of file ScriptedEscortAI.h.

Constructor & Destructor Documentation

◆ npc_escortAI()

npc_escortAI::npc_escortAI ( Creature * creature)
explicit

Definition at line 24 of file ScriptedEscortAI.cpp.

References DEFAULT_MAX_PLAYER_DISTANCE, DespawnAtEnd, DespawnAtFar, HasImmuneToNPCFlags, m_bCanInstantRespawn, m_bCanReturnToStart, m_bIsActiveAttacker, m_bIsRunning, m_pQuestForEscort, m_uiEscortState, m_uiPlayerCheckTimer, m_uiPlayerGUID, m_uiWPWaitTimer, MaxPlayerDistance, ScriptedAI::ScriptedAI(), ScriptWP, and STATE_ESCORT_NONE.

Referenced by boss_ambassador_hellmaw::boss_ambassador_hellmawAI::boss_ambassador_hellmawAI(), example_escort::example_escortAI::example_escortAI(), generic_vehicleAI_toc5::generic_vehicleAI_toc5AI::generic_vehicleAI_toc5AI(), hyjal_trashAI::hyjal_trashAI(), hyjalAI::hyjalAI(), npc_00x09hl::npc_00x09hlAI::npc_00x09hlAI(), npc_akuno::npc_akunoAI::npc_akunoAI(), npc_ancestral_wolf::npc_ancestral_wolfAI::npc_ancestral_wolfAI(), npc_apothecary_hanes::npc_Apothecary_HanesAI::npc_Apothecary_HanesAI(), npc_argent_soldier::npc_argent_soldierAI::npc_argent_soldierAI(), npc_arthas::npc_arthasAI::npc_arthasAI(), npc_azure_saboteur::npc_azure_saboteurAI::npc_azure_saboteurAI(), npc_barnes::npc_barnesAI::npc_barnesAI(), npc_bessy::npc_bessyAI::npc_bessyAI(), npc_black_knight_skeletal_gryphon::npc_black_knight_skeletal_gryphonAI::npc_black_knight_skeletal_gryphonAI(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::npc_blastmaster_emi_shortfuseAI(), npc_bonker_togglevolt::npc_bonker_togglevoltAI::npc_bonker_togglevoltAI(), npc_brann_hos::npc_brann_hosAI::npc_brann_hosAI(), npc_crok_scourgebane::npc_crok_scourgebaneAI::npc_crok_scourgebaneAI(), npc_custodian_of_time::npc_custodian_of_timeAI::npc_custodian_of_timeAI(), npc_deathstalker_erland::npc_deathstalker_erlandAI::npc_deathstalker_erlandAI(), npc_disciple_of_naralex::npc_disciple_of_naralexAI::npc_disciple_of_naralexAI(), npc_earthmender_wilda::npc_earthmender_wildaAI::npc_earthmender_wildaAI(), npc_emily::npc_emilyAI::npc_emilyAI(), npc_engineer_helice::npc_engineer_heliceAI::npc_engineer_heliceAI(), npc_garments_of_quests::npc_garments_of_questsAI::npc_garments_of_questsAI(), npc_gilthares::npc_giltharesAI::npc_giltharesAI(), npc_grimstone::npc_grimstoneAI::npc_grimstoneAI(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::npc_highlord_darion_mograineAI(), npc_icefang::npc_icefangAI::npc_icefangAI(), npc_injured_goblin::npc_injured_goblinAI::npc_injured_goblinAI(), npc_injured_rainspeaker_oracle::npc_injured_rainspeaker_oracleAI::npc_injured_rainspeaker_oracleAI(), npc_isla_starmane::npc_isla_starmaneAI::npc_isla_starmaneAI(), npc_kayra_longmane::npc_kayra_longmaneAI::npc_kayra_longmaneAI(), npc_koltira_deathweaver::npc_koltira_deathweaverAI::npc_koltira_deathweaverAI(), npc_korrak_bloodrager::npc_korrak_bloodragerAI::npc_korrak_bloodragerAI(), npc_kservant::npc_kservantAI::npc_kservantAI(), npc_kurenai_captive::npc_kurenai_captiveAI::npc_kurenai_captiveAI(), npc_lurgglbr::npc_lurgglbrAI::npc_lurgglbrAI(), npc_maghar_captive::npc_maghar_captiveAI::npc_maghar_captiveAI(), npc_magwin::npc_magwinAI::npc_magwinAI(), npc_maxx_a_million_escort::npc_maxx_a_million_escortAI::npc_maxx_a_million_escortAI(), npc_mimirons_inferno::npc_mimirons_infernoAI::npc_mimirons_infernoAI(), npc_mootoo_the_younger::npc_mootoo_the_youngerAI::npc_mootoo_the_youngerAI(), npc_morridune::npc_morriduneAI::npc_morriduneAI(), npc_muglash::npc_muglashAI::npc_muglashAI(), npc_onyx_flamecaller::npc_onyx_flamecallerAI::npc_onyx_flamecallerAI(), npc_OOX17::npc_OOX17AI::npc_OOX17AI(), npc_plaguehound_tracker::npc_plaguehound_trackerAI::npc_plaguehound_trackerAI(), npc_professor_phizzlethorpe::npc_professor_phizzlethorpeAI::npc_professor_phizzlethorpeAI(), npc_ranger_lilatha::npc_ranger_lilathaAI::npc_ranger_lilathaAI(), npc_ranshalla::npc_ranshallaAI::npc_ranshallaAI(), npc_rocknot::npc_rocknotAI::npc_rocknotAI(), npc_ruul_snowhoof::npc_ruul_snowhoofAI::npc_ruul_snowhoofAI(), npc_scarlet_miner::npc_scarlet_minerAI::npc_scarlet_minerAI(), npc_scarlet_trainee::npc_scarlet_traineeAI::npc_scarlet_traineeAI(), npc_shadowfang_prisoner::npc_shadowfang_prisonerAI::npc_shadowfang_prisonerAI(), npc_skywing::npc_skywingAI::npc_skywingAI(), npc_stinkbeard::npc_stinkbeardAI::npc_stinkbeardAI(), npc_stinky::npc_stinkyAI::npc_stinkyAI(), npc_taretha::npc_tarethaAI::npc_tarethaAI(), npc_thassarian::npc_thassarianAI::npc_thassarianAI(), npc_thrall_old_hillsbrad::npc_thrall_old_hillsbradAI::npc_thrall_old_hillsbradAI(), npc_torek::npc_torekAI::npc_torekAI(), npc_willix::npc_willixAI::npc_willixAI(), npc_wizzlecrank_shredder::npc_wizzlecrank_shredderAI::npc_wizzlecrank_shredderAI(), npc_wounded_blood_elf::npc_wounded_blood_elfAI::npc_wounded_blood_elfAI(), violet_hold_trashAI::violet_hold_trashAI(), and npc_thrall_old_hillsbrad::npc_thrall_old_hillsbradAI::WaypointReached().

◆ ~npc_escortAI()

npc_escortAI::~npc_escortAI ( )
inline

Definition at line 44 of file ScriptedEscortAI.h.

Member Function Documentation

◆ AddEscortState()

void npc_escortAI::AddEscortState ( uint32 escortState)
inlineprivate

Definition at line 104 of file ScriptedEscortAI.h.

References m_uiEscortState.

Referenced by EnterEvadeMode(), SetEscortPaused(), and Start().

◆ AddWaypoint()

◆ AssistPlayerInCombat()

◆ AttackStart()

◆ EnterEvadeMode()

◆ FillPointMovementListForCreature()

void npc_escortAI::FillPointMovementListForCreature ( )
private

Definition at line 385 of file ScriptedEscortAI.cpp.

References ScriptedAI::me, sScriptSystemMgr, and WaypointList.

Referenced by SetNextWaypoint(), and Start().

◆ GetAttack()

bool npc_escortAI::GetAttack ( ) const
inline

◆ GetEventStarterGUID()

uint64 npc_escortAI::GetEventStarterGUID ( ) const
inline

Definition at line 94 of file ScriptedEscortAI.h.

References m_uiPlayerGUID.

◆ GetMaxPlayerDistance()

float npc_escortAI::GetMaxPlayerDistance ( ) const
inline

Definition at line 88 of file ScriptedEscortAI.h.

References MaxPlayerDistance.

Referenced by AssistPlayerInCombat(), and IsPlayerOrGroupInRange().

◆ GetPlayerForEscort()

Player * npc_escortAI::GetPlayerForEscort ( )
inlineprotected

Definition at line 97 of file ScriptedEscortAI.h.

References ObjectAccessor::GetPlayer(), m_uiPlayerGUID, and ScriptedAI::me.

Referenced by example_escort::example_escortAI::EnterCombat(), npc_muglash::npc_muglashAI::EnterCombat(), IsPlayerOrGroupInRange(), npc_ranshalla::npc_ranshallaAI::JustDidDialogueStep(), example_escort::example_escortAI::JustDied(), npc_apothecary_hanes::npc_Apothecary_HanesAI::JustDied(), npc_bessy::npc_bessyAI::JustDied(), npc_bonker_togglevolt::npc_bonker_togglevoltAI::JustDied(), npc_engineer_helice::npc_engineer_heliceAI::JustDied(), JustDied(), npc_injured_goblin::npc_injured_goblinAI::JustDied(), npc_injured_rainspeaker_oracle::npc_injured_rainspeaker_oracleAI::JustDied(), npc_isla_starmane::npc_isla_starmaneAI::JustDied(), npc_kurenai_captive::npc_kurenai_captiveAI::JustDied(), npc_maxx_a_million_escort::npc_maxx_a_million_escortAI::JustDied(), npc_mootoo_the_younger::npc_mootoo_the_youngerAI::JustDied(), npc_muglash::npc_muglashAI::JustDied(), npc_stinky::npc_stinkyAI::JustDied(), npc_willix::npc_willixAI::JustDied(), npc_koltira_deathweaver::npc_koltira_deathweaverAI::JustSummoned(), npc_lurgglbr::npc_lurgglbrAI::UpdateAI(), npc_professor_phizzlethorpe::npc_professor_phizzlethorpeAI::UpdateAI(), npc_brann_hos::npc_brann_hosAI::UpdateEscortAI(), npc_wizzlecrank_shredder::npc_wizzlecrank_shredderAI::UpdateEscortAI(), example_escort::example_escortAI::WaypointReached(), npc_00x09hl::npc_00x09hlAI::WaypointReached(), npc_akuno::npc_akunoAI::WaypointReached(), npc_apothecary_hanes::npc_Apothecary_HanesAI::WaypointReached(), npc_bessy::npc_bessyAI::WaypointReached(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::WaypointReached(), npc_bonker_togglevolt::npc_bonker_togglevoltAI::WaypointReached(), npc_custodian_of_time::npc_custodian_of_timeAI::WaypointReached(), npc_deathstalker_erland::npc_deathstalker_erlandAI::WaypointReached(), npc_earthmender_wilda::npc_earthmender_wildaAI::WaypointReached(), npc_emily::npc_emilyAI::WaypointReached(), npc_engineer_helice::npc_engineer_heliceAI::WaypointReached(), npc_gilthares::npc_giltharesAI::WaypointReached(), npc_injured_goblin::npc_injured_goblinAI::WaypointReached(), npc_injured_rainspeaker_oracle::npc_injured_rainspeaker_oracleAI::WaypointReached(), npc_isla_starmane::npc_isla_starmaneAI::WaypointReached(), npc_kayra_longmane::npc_kayra_longmaneAI::WaypointReached(), npc_kservant::npc_kservantAI::WaypointReached(), npc_kurenai_captive::npc_kurenai_captiveAI::WaypointReached(), npc_maghar_captive::npc_maghar_captiveAI::WaypointReached(), npc_magwin::npc_magwinAI::WaypointReached(), npc_maxx_a_million_escort::npc_maxx_a_million_escortAI::WaypointReached(), npc_mootoo_the_younger::npc_mootoo_the_youngerAI::WaypointReached(), npc_muglash::npc_muglashAI::WaypointReached(), npc_OOX17::npc_OOX17AI::WaypointReached(), npc_professor_phizzlethorpe::npc_professor_phizzlethorpeAI::WaypointReached(), npc_ranger_lilatha::npc_ranger_lilathaAI::WaypointReached(), npc_ruul_snowhoof::npc_ruul_snowhoofAI::WaypointReached(), npc_skywing::npc_skywingAI::WaypointReached(), npc_stinky::npc_stinkyAI::WaypointReached(), npc_thassarian::npc_thassarianAI::WaypointReached(), npc_thrall_old_hillsbrad::npc_thrall_old_hillsbradAI::WaypointReached(), npc_torek::npc_torekAI::WaypointReached(), npc_willix::npc_willixAI::WaypointReached(), npc_wounded_blood_elf::npc_wounded_blood_elfAI::WaypointReached(), and npc_wizzlecrank_shredder::npc_wizzlecrank_shredderAI::WaypointStart().

◆ GetWaypointPosition()

bool npc_escortAI::GetWaypointPosition ( uint32 pointId,
float & x,
float & y,
float & z )

Definition at line 545 of file ScriptedEscortAI.cpp.

References ScriptedAI::me, and sScriptSystemMgr.

◆ HasEscortState()

bool npc_escortAI::HasEscortState ( uint32 escortState) const
inline

Definition at line 84 of file ScriptedEscortAI.h.

References m_uiEscortState.

Referenced by example_escort::example_escortAI::EnterCombat(), npc_muglash::npc_muglashAI::EnterCombat(), npc_wounded_blood_elf::npc_wounded_blood_elfAI::EnterCombat(), EnterEvadeMode(), example_escort::example_escortAI::JustDied(), npc_engineer_helice::npc_engineer_heliceAI::JustDied(), JustDied(), npc_injured_goblin::npc_injured_goblinAI::JustDied(), npc_injured_rainspeaker_oracle::npc_injured_rainspeaker_oracleAI::JustDied(), npc_kurenai_captive::npc_kurenai_captiveAI::JustDied(), npc_muglash::npc_muglashAI::JustDied(), npc_stinky::npc_stinkyAI::JustDied(), npc_custodian_of_time::npc_custodian_of_timeAI::MoveInLineOfSight(), MoveInLineOfSight(), npc_kservant::npc_kservantAI::MoveInLineOfSight(), npc_skywing::npc_skywingAI::MoveInLineOfSight(), MovementInform(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::Reset(), npc_brann_hos::npc_brann_hosAI::Reset(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::Reset(), npc_koltira_deathweaver::npc_koltira_deathweaverAI::Reset(), npc_lurgglbr::npc_lurgglbrAI::Reset(), npc_rocknot::npc_rocknotAI::Reset(), npc_thrall_old_hillsbrad::npc_thrall_old_hillsbradAI::Reset(), npc_wizzlecrank_shredder::npc_wizzlecrank_shredderAI::Reset(), SetEscortPaused(), Start(), example_escort::example_escortAI::UpdateAI(), npc_barnes::npc_barnesAI::UpdateAI(), npc_engineer_helice::npc_engineer_heliceAI::UpdateAI(), UpdateAI(), npc_koltira_deathweaver::npc_koltira_deathweaverAI::UpdateAI(), npc_mimirons_inferno::npc_mimirons_infernoAI::UpdateAI(), and npc_muglash::npc_muglashAI::UpdateAI().

◆ IsEscorted()

virtual bool npc_escortAI::IsEscorted ( )
inlinevirtual

Reimplemented from CreatureAI.

Definition at line 85 of file ScriptedEscortAI.h.

References m_uiEscortState, OVERRIDE, and STATE_ESCORT_ESCORTING.

◆ IsPlayerOrGroupInRange()

bool npc_escortAI::IsPlayerOrGroupInRange ( )
private

◆ JustDied()

◆ JustRespawned()

void npc_escortAI::JustRespawned ( )
virtual

◆ MoveInLineOfSight()

◆ MovementInform()

◆ RemoveEscortState()

void npc_escortAI::RemoveEscortState ( uint32 escortState)
inlineprivate

Definition at line 105 of file ScriptedEscortAI.h.

References m_uiEscortState.

Referenced by MovementInform(), and SetEscortPaused().

◆ ReturnToLastPoint()

void npc_escortAI::ReturnToLastPoint ( )

Definition at line 162 of file ScriptedEscortAI.cpp.

References ScriptedAI::me, and POINT_LAST_POINT.

Referenced by EnterEvadeMode().

◆ SetCanAttack()

void npc_escortAI::SetCanAttack ( bool attack)
inline

Definition at line 93 of file ScriptedEscortAI.h.

References m_bIsActiveAttacker.

◆ SetDespawnAtEnd()

◆ SetDespawnAtFar()

◆ SetEscortPaused()

void npc_escortAI::SetEscortPaused ( bool on)

Definition at line 489 of file ScriptedEscortAI.cpp.

References AddEscortState(), HasEscortState(), RemoveEscortState(), STATE_ESCORT_ESCORTING, and STATE_ESCORT_PAUSED.

Referenced by npc_ranshalla::npc_ranshallaAI::DoChannelTorchSpell(), npc_muglash::npc_muglashAI::DoWaveSummon(), npc_ranshalla::npc_ranshallaAI::JustDidDialogueStep(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::SetData(), npc_crok_scourgebane::npc_crok_scourgebaneAI::SetGUID(), npc_arthas::npc_arthasAI::SetHoldState(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::SetHoldState(), npc_brann_hos::npc_brann_hosAI::StartWP(), npc_thrall_old_hillsbrad::npc_thrall_old_hillsbradAI::StartWP(), npc_arthas::npc_arthasAI::UpdateAI(), npc_barnes::npc_barnesAI::UpdateAI(), npc_koltira_deathweaver::npc_koltira_deathweaverAI::UpdateAI(), npc_maxx_a_million_escort::npc_maxx_a_million_escortAI::UpdateAI(), npc_thassarian::npc_thassarianAI::UpdateAI(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::UpdateEscortAI(), npc_brann_hos::npc_brann_hosAI::UpdateEscortAI(), npc_ranshalla::npc_ranshallaAI::UpdateEscortAI(), npc_barnes::npc_barnesAI::WaypointReached(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::WaypointReached(), npc_brann_hos::npc_brann_hosAI::WaypointReached(), npc_crok_scourgebane::npc_crok_scourgebaneAI::WaypointReached(), npc_koltira_deathweaver::npc_koltira_deathweaverAI::WaypointReached(), npc_maxx_a_million_escort::npc_maxx_a_million_escortAI::WaypointReached(), npc_morridune::npc_morriduneAI::WaypointReached(), npc_muglash::npc_muglashAI::WaypointReached(), npc_onyx_flamecaller::npc_onyx_flamecallerAI::WaypointReached(), npc_ranshalla::npc_ranshallaAI::WaypointReached(), npc_thassarian::npc_thassarianAI::WaypointReached(), and npc_thrall_old_hillsbrad::npc_thrall_old_hillsbradAI::WaypointReached().

◆ SetMaxPlayerDistance()

void npc_escortAI::SetMaxPlayerDistance ( float newMax)
inline

Definition at line 87 of file ScriptedEscortAI.h.

References MaxPlayerDistance.

◆ SetNextWaypoint() [1/2]

bool npc_escortAI::SetNextWaypoint ( uint32 pointId,
bool setPosition = true,
bool resetWaypointsOnFail = true )

◆ SetNextWaypoint() [2/2]

bool npc_escortAI::SetNextWaypoint ( uint32 pointId,
float x,
float y,
float z,
float orientation )

Definition at line 500 of file ScriptedEscortAI.cpp.

References ScriptedAI::me, and SetNextWaypoint().

Referenced by SetNextWaypoint().

◆ SetRun()

◆ Start()

void npc_escortAI::Start ( bool isActiveAttacker = true,
bool run = false,
uint64 playerGUID = 0,
Quest const * quest = NULL,
bool instantRespawn = false,
bool canLoopPath = false,
bool resetWaypoints = true )
Todo
get rid of this many variables passed in function.

Definition at line 420 of file ScriptedEscortAI.cpp.

References AddEscortState(), CurrentWP, FillPointMovementListForCreature(), Quest::GetQuestId(), HasEscortState(), HasImmuneToNPCFlags, m_bCanInstantRespawn, m_bCanReturnToStart, m_bIsActiveAttacker, m_bIsRunning, m_pQuestForEscort, m_uiPlayerGUID, ScriptedAI::me, ScriptWP, SF_LOG_DEBUG, SF_LOG_ERROR, STATE_ESCORT_ESCORTING, UI64FMTD, UNIT_FIELD_FLAGS, UNIT_FIELD_NPC_FLAGS, UNIT_FLAG_IMMUNE_TO_NPC, UNIT_NPC_FLAG_NONE, WAYPOINT_MOTION_TYPE, and WaypointList.

Referenced by boss_ambassador_hellmaw::boss_ambassador_hellmawAI::DoIntro(), npc_custodian_of_time::npc_custodian_of_timeAI::MoveInLineOfSight(), npc_kservant::npc_kservantAI::MoveInLineOfSight(), npc_skywing::npc_skywingAI::MoveInLineOfSight(), npc_ancestral_wolf::npc_ancestral_wolfAI::npc_ancestral_wolfAI(), npc_black_knight_skeletal_gryphon::npc_black_knight_skeletal_gryphonAI::npc_black_knight_skeletal_gryphonAI(), npc_korrak_bloodrager::npc_korrak_bloodragerAI::npc_korrak_bloodragerAI(), npc_morridune::npc_morriduneAI::npc_morriduneAI(), npc_stinkbeard::npc_stinkbeardAI::npc_stinkbeardAI(), example_escort::OnGossipSelect(), npc_arthas::OnGossipSelect(), npc_icefang::npc_icefangAI::PassengerBoarded(), npc_onyx_flamecaller::npc_onyx_flamecallerAI::Reset(), npc_plaguehound_tracker::npc_plaguehound_trackerAI::Reset(), hyjalAI::Retreat(), generic_vehicleAI_toc5::generic_vehicleAI_toc5AI::SetData(), npc_argent_soldier::npc_argent_soldierAI::SetData(), npc_scarlet_miner::npc_scarlet_minerAI::SetGUID(), npc_injured_goblin::npc_injured_goblinAI::sGossipSelect(), npc_barnes::npc_barnesAI::StartEvent(), npc_brann_hos::npc_brann_hosAI::StartWP(), boss_anetheron::boss_anetheronAI::UpdateAI(), boss_azgalor::boss_azgalorAI::UpdateAI(), boss_kazrogal::boss_kazrogalAI::UpdateAI(), boss_rage_winterchill::boss_rage_winterchillAI::UpdateAI(), hyjal_trashAI::UpdateAI(), npc_abomination::npc_abominationAI::UpdateAI(), npc_azure_saboteur::npc_azure_saboteurAI::UpdateAI(), npc_banshee::npc_bansheeAI::UpdateAI(), npc_crypt_fiend::npc_crypt_fiendAI::UpdateAI(), npc_fel_stalker::npc_fel_stalkerAI::UpdateAI(), npc_frost_wyrm::npc_frost_wyrmAI::UpdateAI(), npc_gargoyle::npc_gargoyleAI::UpdateAI(), npc_garments_of_quests::npc_garments_of_questsAI::UpdateAI(), npc_ghoul::npc_ghoulAI::UpdateAI(), npc_giant_infernal::npc_giant_infernalAI::UpdateAI(), npc_grimstone::npc_grimstoneAI::UpdateAI(), npc_mimirons_inferno::npc_mimirons_infernoAI::UpdateAI(), npc_necromancer::npc_necromancerAI::UpdateAI(), npc_scarlet_trainee::npc_scarlet_traineeAI::UpdateAI(), violet_hold_trashAI::UpdateAI(), and npc_crok_scourgebane::npc_crok_scourgebaneAI::UpdateEscortAI().

◆ UpdateAI()

void npc_escortAI::UpdateAI ( uint32 diff)
virtual

== Triggered Actions Requested ==================

Reimplemented from CreatureAI.

Reimplemented in npc_fel_stalker::npc_fel_stalkerAI, npc_frost_wyrm::npc_frost_wyrmAI, npc_gargoyle::npc_gargoyleAI, npc_garments_of_quests::npc_garments_of_questsAI, npc_ghoul::npc_ghoulAI, npc_giant_infernal::npc_giant_infernalAI, npc_grimstone::npc_grimstoneAI, npc_highlord_darion_mograine::npc_highlord_darion_mograineAI, npc_icefang::npc_icefangAI, npc_injured_goblin::npc_injured_goblinAI, npc_koltira_deathweaver::npc_koltira_deathweaverAI, npc_korrak_bloodrager::npc_korrak_bloodragerAI, npc_kurenai_captive::npc_kurenai_captiveAI, npc_lesser_doomguard::npc_lesser_doomguardAI, npc_lurgglbr::npc_lurgglbrAI, npc_maghar_captive::npc_maghar_captiveAI, npc_maxx_a_million_escort::npc_maxx_a_million_escortAI, npc_mimirons_inferno::npc_mimirons_infernoAI, npc_muglash::npc_muglashAI, npc_necromancer::npc_necromancerAI, npc_professor_phizzlethorpe::npc_professor_phizzlethorpeAI, npc_rocknot::npc_rocknotAI, npc_ruul_snowhoof::npc_ruul_snowhoofAI, npc_scarlet_miner::npc_scarlet_minerAI, npc_scarlet_trainee::npc_scarlet_traineeAI, npc_skywing::npc_skywingAI, npc_stinkbeard::npc_stinkbeardAI, npc_stinky::npc_stinkyAI, npc_taretha::npc_tarethaAI, npc_thassarian::npc_thassarianAI, npc_thrall_old_hillsbrad::npc_thrall_old_hillsbradAI, npc_torek::npc_torekAI, and violet_hold_trashAI.

Definition at line 209 of file ScriptedEscortAI.cpp.

References CurrentWP, DespawnAtEnd, DespawnAtFar, HasEscortState(), IsPlayerOrGroupInRange(), JUST_DIED, m_bCanInstantRespawn, m_bCanReturnToStart, m_uiPlayerCheckTimer, m_uiPlayerGUID, m_uiWPWaitTimer, ScriptedAI::me, POINT_HOME, SF_LOG_DEBUG, STATE_ESCORT_ESCORTING, STATE_ESCORT_PAUSED, STATE_ESCORT_RETURNING, UpdateEscortAI(), WaypointList, and WaypointStart().

Referenced by hyjalAI::DoOverrun(), boss_anetheron::boss_anetheronAI::UpdateAI(), boss_azgalor::boss_azgalorAI::UpdateAI(), boss_kazrogal::boss_kazrogalAI::UpdateAI(), boss_rage_winterchill::boss_rage_winterchillAI::UpdateAI(), example_escort::example_escortAI::UpdateAI(), generic_vehicleAI_toc5::generic_vehicleAI_toc5AI::UpdateAI(), npc_abomination::npc_abominationAI::UpdateAI(), npc_argent_soldier::npc_argent_soldierAI::UpdateAI(), npc_arthas::npc_arthasAI::UpdateAI(), npc_azure_binder::npc_azure_binderAI::UpdateAI(), npc_azure_captain::npc_azure_captainAI::UpdateAI(), npc_azure_invader::npc_azure_invaderAI::UpdateAI(), npc_azure_mage_slayer::npc_azure_mage_slayerAI::UpdateAI(), npc_azure_raider::npc_azure_raiderAI::UpdateAI(), npc_azure_saboteur::npc_azure_saboteurAI::UpdateAI(), npc_azure_sorceror::npc_azure_sorcerorAI::UpdateAI(), npc_azure_spellbreaker::npc_azure_spellbreakerAI::UpdateAI(), npc_azure_stalker::npc_azure_stalkerAI::UpdateAI(), npc_banshee::npc_bansheeAI::UpdateAI(), npc_barnes::npc_barnesAI::UpdateAI(), npc_black_knight_skeletal_gryphon::npc_black_knight_skeletal_gryphonAI::UpdateAI(), npc_crypt_fiend::npc_crypt_fiendAI::UpdateAI(), npc_custodian_of_time::npc_custodian_of_timeAI::UpdateAI(), npc_disciple_of_naralex::npc_disciple_of_naralexAI::UpdateAI(), npc_earthmender_wilda::npc_earthmender_wildaAI::UpdateAI(), npc_engineer_helice::npc_engineer_heliceAI::UpdateAI(), npc_fel_stalker::npc_fel_stalkerAI::UpdateAI(), npc_frost_wyrm::npc_frost_wyrmAI::UpdateAI(), npc_gargoyle::npc_gargoyleAI::UpdateAI(), npc_garments_of_quests::npc_garments_of_questsAI::UpdateAI(), npc_ghoul::npc_ghoulAI::UpdateAI(), npc_giant_infernal::npc_giant_infernalAI::UpdateAI(), npc_grimstone::npc_grimstoneAI::UpdateAI(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::UpdateAI(), npc_icefang::npc_icefangAI::UpdateAI(), npc_injured_goblin::npc_injured_goblinAI::UpdateAI(), npc_koltira_deathweaver::npc_koltira_deathweaverAI::UpdateAI(), npc_korrak_bloodrager::npc_korrak_bloodragerAI::UpdateAI(), npc_lurgglbr::npc_lurgglbrAI::UpdateAI(), npc_maghar_captive::npc_maghar_captiveAI::UpdateAI(), npc_maxx_a_million_escort::npc_maxx_a_million_escortAI::UpdateAI(), npc_mimirons_inferno::npc_mimirons_infernoAI::UpdateAI(), npc_muglash::npc_muglashAI::UpdateAI(), npc_necromancer::npc_necromancerAI::UpdateAI(), npc_professor_phizzlethorpe::npc_professor_phizzlethorpeAI::UpdateAI(), npc_rocknot::npc_rocknotAI::UpdateAI(), npc_ruul_snowhoof::npc_ruul_snowhoofAI::UpdateAI(), npc_scarlet_miner::npc_scarlet_minerAI::UpdateAI(), npc_scarlet_trainee::npc_scarlet_traineeAI::UpdateAI(), npc_skywing::npc_skywingAI::UpdateAI(), npc_stinkbeard::npc_stinkbeardAI::UpdateAI(), npc_stinky::npc_stinkyAI::UpdateAI(), npc_taretha::npc_tarethaAI::UpdateAI(), npc_thassarian::npc_thassarianAI::UpdateAI(), npc_thrall_old_hillsbrad::npc_thrall_old_hillsbradAI::UpdateAI(), and npc_torek::npc_torekAI::UpdateAI().

◆ UpdateEscortAI()

◆ WaypointReached()

virtual void npc_escortAI::WaypointReached ( uint32 pointId)
pure virtual

Implemented in boss_ambassador_hellmaw::boss_ambassador_hellmawAI, boss_anetheron::boss_anetheronAI, boss_archimonde::boss_archimondeAI, boss_azgalor::boss_azgalorAI, boss_kazrogal::boss_kazrogalAI, boss_rage_winterchill::boss_rage_winterchillAI, example_escort::example_escortAI, generic_vehicleAI_toc5::generic_vehicleAI_toc5AI, hyjalAI, npc_00x09hl::npc_00x09hlAI, npc_abomination::npc_abominationAI, npc_akuno::npc_akunoAI, npc_ancestral_wolf::npc_ancestral_wolfAI, npc_apothecary_hanes::npc_Apothecary_HanesAI, npc_argent_soldier::npc_argent_soldierAI, npc_arthas::npc_arthasAI, npc_azure_saboteur::npc_azure_saboteurAI, npc_banshee::npc_bansheeAI, npc_barnes::npc_barnesAI, npc_bessy::npc_bessyAI, npc_black_knight_skeletal_gryphon::npc_black_knight_skeletal_gryphonAI, npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI, npc_bonker_togglevolt::npc_bonker_togglevoltAI, npc_brann_hos::npc_brann_hosAI, npc_crok_scourgebane::npc_crok_scourgebaneAI, npc_crypt_fiend::npc_crypt_fiendAI, npc_custodian_of_time::npc_custodian_of_timeAI, npc_deathstalker_erland::npc_deathstalker_erlandAI, npc_disciple_of_naralex::npc_disciple_of_naralexAI, npc_earthmender_wilda::npc_earthmender_wildaAI, npc_emily::npc_emilyAI, npc_engineer_helice::npc_engineer_heliceAI, npc_fel_stalker::npc_fel_stalkerAI, npc_frost_wyrm::npc_frost_wyrmAI, npc_gargoyle::npc_gargoyleAI, npc_garments_of_quests::npc_garments_of_questsAI, npc_ghoul::npc_ghoulAI, npc_giant_infernal::npc_giant_infernalAI, npc_gilthares::npc_giltharesAI, npc_grimstone::npc_grimstoneAI, npc_highlord_darion_mograine::npc_highlord_darion_mograineAI, npc_icefang::npc_icefangAI, npc_injured_goblin::npc_injured_goblinAI, npc_injured_rainspeaker_oracle::npc_injured_rainspeaker_oracleAI, npc_isla_starmane::npc_isla_starmaneAI, npc_kayra_longmane::npc_kayra_longmaneAI, npc_koltira_deathweaver::npc_koltira_deathweaverAI, npc_korrak_bloodrager::npc_korrak_bloodragerAI, npc_kservant::npc_kservantAI, npc_kurenai_captive::npc_kurenai_captiveAI, npc_lesser_doomguard::npc_lesser_doomguardAI, npc_lurgglbr::npc_lurgglbrAI, npc_maghar_captive::npc_maghar_captiveAI, npc_magwin::npc_magwinAI, npc_maxx_a_million_escort::npc_maxx_a_million_escortAI, npc_mimirons_inferno::npc_mimirons_infernoAI, npc_mootoo_the_younger::npc_mootoo_the_youngerAI, npc_morridune::npc_morriduneAI, npc_muglash::npc_muglashAI, npc_necromancer::npc_necromancerAI, npc_onyx_flamecaller::npc_onyx_flamecallerAI, npc_OOX17::npc_OOX17AI, npc_plaguehound_tracker::npc_plaguehound_trackerAI, npc_professor_phizzlethorpe::npc_professor_phizzlethorpeAI, npc_ranger_lilatha::npc_ranger_lilathaAI, npc_ranshalla::npc_ranshallaAI, npc_rocknot::npc_rocknotAI, npc_ruul_snowhoof::npc_ruul_snowhoofAI, npc_scarlet_miner::npc_scarlet_minerAI, npc_scarlet_trainee::npc_scarlet_traineeAI, npc_shadowfang_prisoner::npc_shadowfang_prisonerAI, npc_skywing::npc_skywingAI, npc_stinkbeard::npc_stinkbeardAI, npc_stinky::npc_stinkyAI, npc_taretha::npc_tarethaAI, npc_thassarian::npc_thassarianAI, npc_thrall_old_hillsbrad::npc_thrall_old_hillsbradAI, npc_torek::npc_torekAI, npc_willix::npc_willixAI, npc_wizzlecrank_shredder::npc_wizzlecrank_shredderAI, npc_wounded_blood_elf::npc_wounded_blood_elfAI, and violet_hold_trashAI.

References WaypointReached().

Referenced by MovementInform(), and WaypointReached().

◆ WaypointStart()

virtual void npc_escortAI::WaypointStart ( uint32 )
inlinevirtual

Member Data Documentation

◆ CurrentWP

std::list<Escort_Waypoint>::iterator npc_escortAI::CurrentWP
private

Definition at line 116 of file ScriptedEscortAI.h.

Referenced by MovementInform(), SetNextWaypoint(), Start(), and UpdateAI().

◆ DespawnAtEnd

bool npc_escortAI::DespawnAtEnd
private

Definition at line 122 of file ScriptedEscortAI.h.

Referenced by npc_escortAI(), SetDespawnAtEnd(), and UpdateAI().

◆ DespawnAtFar

bool npc_escortAI::DespawnAtFar
private

Definition at line 123 of file ScriptedEscortAI.h.

Referenced by npc_escortAI(), SetDespawnAtFar(), and UpdateAI().

◆ HasImmuneToNPCFlags

bool npc_escortAI::HasImmuneToNPCFlags
private

Definition at line 125 of file ScriptedEscortAI.h.

Referenced by EnterEvadeMode(), npc_escortAI(), and Start().

◆ m_bCanInstantRespawn

bool npc_escortAI::m_bCanInstantRespawn
private

Definition at line 120 of file ScriptedEscortAI.h.

Referenced by npc_escortAI(), Start(), and UpdateAI().

◆ m_bCanReturnToStart

bool npc_escortAI::m_bCanReturnToStart
private

Definition at line 121 of file ScriptedEscortAI.h.

Referenced by npc_escortAI(), Start(), and UpdateAI().

◆ m_bIsActiveAttacker

bool npc_escortAI::m_bIsActiveAttacker
private

Definition at line 118 of file ScriptedEscortAI.h.

Referenced by GetAttack(), npc_escortAI(), SetCanAttack(), and Start().

◆ m_bIsRunning

bool npc_escortAI::m_bIsRunning
private

Definition at line 119 of file ScriptedEscortAI.h.

Referenced by MovementInform(), npc_escortAI(), SetRun(), and Start().

◆ m_pQuestForEscort

Quest const* npc_escortAI::m_pQuestForEscort
private

Definition at line 113 of file ScriptedEscortAI.h.

Referenced by JustDied(), npc_escortAI(), and Start().

◆ m_uiEscortState

uint32 npc_escortAI::m_uiEscortState
private

◆ m_uiPlayerCheckTimer

uint32 npc_escortAI::m_uiPlayerCheckTimer
private

Definition at line 109 of file ScriptedEscortAI.h.

Referenced by npc_escortAI(), and UpdateAI().

◆ m_uiPlayerGUID

uint64 npc_escortAI::m_uiPlayerGUID
private

◆ m_uiWPWaitTimer

uint32 npc_escortAI::m_uiWPWaitTimer
private

Definition at line 108 of file ScriptedEscortAI.h.

Referenced by JustRespawned(), MovementInform(), npc_escortAI(), and UpdateAI().

◆ MaxPlayerDistance

float npc_escortAI::MaxPlayerDistance
private

Definition at line 111 of file ScriptedEscortAI.h.

Referenced by GetMaxPlayerDistance(), npc_escortAI(), and SetMaxPlayerDistance().

◆ ScriptWP

bool npc_escortAI::ScriptWP
private

Definition at line 124 of file ScriptedEscortAI.h.

Referenced by AddWaypoint(), npc_escortAI(), and Start().

◆ WaypointList

std::list<Escort_Waypoint> npc_escortAI::WaypointList
private

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