72 {
74 {
75 if (npc_maghar_captiveAI* EscortAI =
dynamic_cast<npc_maghar_captiveAI*
>(creature->
AI()))
76 {
79 EscortAI->Start(
true,
false, player->
GetGUID(), quest);
81
85 }
86 }
87 return true;
88 }
@ UNIT_STAND_STATE_STAND
Definition: UnitDefines.h:32
@ TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT
Definition: Object.h:48
@ QUEST_TOTEM_KARDASH_H
Definition: zone_nagrand.cpp:55
@ NPC_MURK_RAIDER
Definition: zone_nagrand.cpp:57
@ SAY_MAG_START
Definition: zone_nagrand.cpp:42
@ NPC_MURK_PUTRIFIER
Definition: zone_nagrand.cpp:60
@ NPC_MURK_BRUTE
Definition: zone_nagrand.cpp:58
static float m_afAmbushA[]
Definition: zone_nagrand.cpp:63
@ FACTION_ESCORTEE_H_NEUTRAL_ACTIVE
Definition: SharedDefines.h:215
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr, Milliseconds delay=0s)
Causes the creature to talk/say the text assigned to their entry in the creature_text database table.
Definition: CreatureAI.cpp:50
CreatureAI * AI() const
Definition: Creature.h:143
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:109
TempSummon * SummonCreature(uint32 id, const Position &pos, TempSummonType spwtype=TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0, SummonPropertiesEntry const *properties=nullptr, bool visibleBySummonerOnly=false) const
Definition: Object.cpp:2355
void SetFaction(uint32 faction)
Definition: Unit.cpp:10018
void SetStandState(uint8 state)
Definition: Unit.cpp:16682
uint32 GetQuestId() const
Definition: QuestDef.h:228