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