1667 {
1670 {
1671 std::list<Creature*> childrenList;
1673 for (std::list<Creature*>::const_iterator itr = childrenList.begin(); itr != childrenList.end(); ++itr)
1674 {
1676 (*itr)->DespawnOrUnsummon(5000);
1679 (*itr)->GetMotionMaster()->Clear();
1680 }
1681 }
1682 return false;
1683 }
void GetCreatureListWithEntryInGrid(std::list< Creature * > &list, WorldObject *source, uint32 entry, float maxSearchRange)
Definition: ScriptedCreature.cpp:818
#define INTERACTION_DISTANCE
Definition: ObjectDefines.h:24
@ QUEST_STATUS_INCOMPLETE
Definition: QuestDef.h:103
@ NPC_CAPTIVE_CHILD
Definition: go_scripts.cpp:1657
@ SAY_FREE_0
Definition: go_scripts.cpp:1658
@ QUEST_MISSING_FRIENDS
Definition: go_scripts.cpp:1656
void UseDoorOrButton(uint32 time_to_restore=0, bool alternative=false, Unit *user=nullptr)
Definition: GameObject.cpp:1427
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:1913
QuestStatus GetQuestStatus(uint32 quest_id) const
Definition: PlayerQuest.cpp:1416