144 if (entry->TextEntry == textEntry)
191 if (sayerEntry && textEntry >= 0)
195 speaker->AI()->Talk(textEntry);
246 {5515.98f, -4903.43f, 846.30f, 4.58f},
247 {5501.94f, -4920.20f, 848.69f, 6.15f},
248 {5497.35f, -4906.49f, 850.83f, 2.76f},
249 {5518.38f, -4913.47f, 845.57f, 0.00f},
250 {5510.36f, -4921.17f, 846.33f, 0.00f},
251 {5511.31f, -4913.82f, 847.17f, 0.00f},
252 {5518.51f, -4917.56f, 845.23f, 0.00f},
253 {5514.40f, -4921.16f, 845.49f, 0.00f}
374 std::list<GameObject*> eluneLights;
376 for (std::list<GameObject*>::const_iterator itr = eluneLights.begin(); itr != eluneLights.end(); ++itr)
378 if ((*itr)->isSpawned())
381 (*itr)->SetRespawnTime(115);
420 if (gem->isSpawned())
423 gem->SetRespawnTime(90);
459 guard->DespawnOrUnsummon(4s);
467 priestess->DespawnOrUnsummon(4s);
475 priestess->DespawnOrUnsummon(4s);
491 altar->ResetDoorOrButton();
581 bool isAltar =
false;
589 escortAI->DoContinueEscort(isAltar);
@ TEMPSUMMON_TIMED_DESPAWN
@ TEMPSUMMON_CORPSE_DESPAWN
GameObject * GetClosestGameObjectWithEntry(WorldObject *source, uint32 entry, float maxSearchRange, bool spawnedOnly=true)
Creature * GetClosestCreatureWithEntry(WorldObject *source, uint32 entry, float maxSearchRange, bool alive=true)
void GetGameObjectListWithEntryInGrid(Container &container, WorldObject *source, uint32 entry, float maxSearchRange)
@ FACTION_ESCORTEE_A_NEUTRAL_PASSIVE
void DespawnOrUnsummon(Milliseconds timeToDespawn=0s, Seconds forceRespawnTime=0s)
DialogueHelper(DialogueEntry const *dialogueArray)
DialogueEntry const * _dialogueArray
virtual Creature * GetSpeakerByEntry(int32)
Will be called to get a speaker, MUST be implemented if not used in instances.
void DoNextDialogueStep()
virtual void JustDidDialogueStep(int32)
Will be called when a dialogue step was done.
DialogueEntry const * _currentEntry
void DialogueUpdate(uint32 diff)
void StartNextDialogueText(int32 textEntry)
void ScheduleEvent(EventId eventId, Milliseconds time, GroupIndex group=0u, PhaseIndex phase=0u)
void SetFlag(GameObjectFlags flags)
static ObjectGuid GetGUID(Object const *o)
uint32 GetQuestId() const
SpellCastResult DoCast(uint32 spellId)
void SetFaction(uint32 faction) override
void InterruptNonMeleeSpells(bool withDelayed, uint32 spellid=0, bool withInstant=true)
void SetFacingToObject(WorldObject const *object, bool force=true, uint32 movementId=EVENT_FACE)
void SetStandState(UnitStandStateType state)
TempSummon * SummonCreature(uint32 entry, Position const &pos, TempSummonType despawnType=TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime=0s, uint32 vehId=0, uint32 spellId=0, ObjectGuid privateObjectOwner=ObjectGuid::Empty)
GameObjectAI * GetAI(GameObject *go) const override
CreatureAI * GetAI(Creature *creature) const override
TC_GAME_API GameObject * GetGameObject(WorldObject const &u, ObjectGuid const &guid)
TC_GAME_API Creature * GetCreature(WorldObject const &u, ObjectGuid const &guid)
int32 TextEntry
To be said text entry.
int32 SayerEntry
Entry of the mob who should say.
uint32 SayTimer
Time delay until next text of array is said (0 stops)
void Start(bool isActiveAttacker=true, ObjectGuid playerGUID=ObjectGuid::Empty, Quest const *quest=nullptr, bool instantRespawn=false, bool canLoopPath=false)
virtual void UpdateEscortAI(uint32 diff)
void LoadPath(uint32 pathId)
Player * GetPlayerForEscort()
void SetEscortPaused(bool on)
float GetOrientation() const
bool OnGossipHello(Player *) override
go_elune_fireAI(GameObject *go)
void SummonedMovementInform(Creature *summoned, uint32 type, uint32 pointId)
void OnQuestAccept(Player *player, Quest const *quest) override
ObjectGuid _guardEluneGUID
void JustDidDialogueStep(int32 entry) override
Will be called when a dialogue step was done.
ObjectGuid _secondPriestessGUID
npc_ranshallaAI(Creature *creature)
void WaypointReached(uint32 pointId, uint32) override
Creature * GetSpeakerByEntry(int32 entry) override
Will be called to get a speaker, MUST be implemented if not used in instances.
void DoChannelTorchSpell(bool isAltarWaypoint=false)
ObjectGuid _firstPriestessGUID
void DoContinueEscort(bool isAltarWaypoint=false)
ObjectGuid _voiceEluneGUID
void UpdateEscortAI(uint32 diff) override
const DialogueEntry introDialogue[]
static Position wingThicketLocations[]
void AddSC_winterspring()
static constexpr uint32 PATH_ESCORT_RANSHALLA