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 }
@ 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
@ TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT
Definition: Object.h:49
@ UNIT_STAND_STATE_STAND
Definition: UnitDefines.h:32
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:140
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:112
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:2366
void SetFaction(uint32 faction)
Definition: Unit.cpp:10056
void SetStandState(uint8 state)
Definition: Unit.cpp:16726
uint32 GetQuestId() const
Definition: QuestDef.h:228