Cava
Well-Known Member
- Joined
- Aug 15, 2012
- Messages
- 3,133
wowhead.com/quest=24546 point have wrong coordinates.
it may have a different position. little experience in writing scripts, but if there is no one place in the banner, then he must run to another. here is the code with the coordinates where I found the banner.
[H-Quest](31-34)SouthernBarrens[Cava]
Code:<If Condition="HasQuest(24546) && !IsQuestCompleted(24546)" > <While Condition="!IsQuestCompleted(24546)" > <RunTo QuestId="24546" X="-2464.21" Y="-2308.73" Z="100.34" /> <CustomBehavior File="InteractWith" QuestId="24546" MobId="201743" ObjectType="GameObject" X="-2466.405" Y="-2306.976" Z="100.2301" /> <CustomBehavior File="WaitTimer" QuestId="24546" WaitTime="12000" /> <While Condition="(ObjectManager.GetObjectsOfType<WoWGameObject>().Any(u => u.Entry == 201744 && u.Distance <= 100)) && !IsQuestCompleted(24546)" > <RunTo QuestId="24546" X="-2464.21" Y="-2308.73" Z="100.34" /> <CustomBehavior File="CollectThings" QuestId="24546" MobId="37585" MobState="Alive" CollectUntil="NoTargetsInArea" CollectItemId="1" CollectItemCount="1" NonCompeteDistance="1" HuntingGroundRadius="25" > <Hotspot X="-2464.21" Y="-2308.73" Z="100.34" /> </CustomBehavior> </While> </While> </If>
added second flag to profile
thanks for report