1719 {
1722 {
1723 std::list<Creature*> childrenList;
1725 for (std::list<Creature*>::const_iterator itr = childrenList.begin(); itr != childrenList.end(); ++itr)
1726 {
1728 (*itr)->DespawnOrUnsummon(5000);
1731 (*itr)->GetMotionMaster()->Clear();
1732 }
1733 }
1734 return false;
1735 }
@ QUEST_STATUS_INCOMPLETE
Definition: QuestDef.h:103
void GetCreatureListWithEntryInGrid(std::list< Creature * > &list, WorldObject *source, uint32 entry, float maxSearchRange)
Definition: ScriptedCreature.cpp:827
#define INTERACTION_DISTANCE
Definition: ObjectDefines.h:24
@ NPC_CAPTIVE_CHILD
Definition: go_scripts.cpp:1709
@ SAY_FREE_0
Definition: go_scripts.cpp:1710
@ QUEST_MISSING_FRIENDS
Definition: go_scripts.cpp:1708
void UseDoorOrButton(uint32 time_to_restore=0, bool alternative=false, Unit *user=nullptr)
Definition: GameObject.cpp:1429
float GetPositionZ() const
Definition: Position.h:119
float GetPositionX() const
Definition: Position.h:117
float GetPositionY() const
Definition: Position.h:118
void KilledMonsterCredit(uint32 entry, ObjectGuid guid=ObjectGuid::Empty)
Definition: PlayerQuest.cpp:1921
QuestStatus GetQuestStatus(uint32 quest_id) const
Definition: PlayerQuest.cpp:1424