What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

RunMacro - GossipButton

tumbum

Active Member
Joined
Mar 17, 2011
Messages
3,341
Reaction score
13
Hello,

im just try to work little bit with the mechanic, at the momemt i use the Peninsula Dailies from Kickazz006, just for my Private Tests, and want to use it with Horde. At the moment the Toon runs to the NPC but doesnt pick up the Quests. I looked for the NPC IDs and the Middle coords of the Field.

PHP:
<While Condition="HasQuestAvailable(48358)" >
<CustomBehavior File="InteractWith"  MobId="48358" NumOfTimes="1" CollectionDistance="200" WaitTime="1000" X="-599.5208" Y="1398.502" Z="21.40005" />
<CustomBehavior File="RunMacro" Macro="/click GossipTitleButton1" NumOfTimes="1" WaitTime="1000" />
<CustomBehavior File="RunMacro" Macro="/click QuestFrameAcceptButton" NumOfTimes="1" WaitTime="1000" />

I dont know why it doesnt pick up, i see he want to use the RunMacro but nothing happens on the Screen just the Quest Windows pops up.


maybe someone can help?
 
I dont know why it doesnt pick up, i see he want to use the RunMacro but nothing happens on the Screen just the Quest Windows pops up. maybe someone can help?

Its a good idea to avoid the RunMacro behavior as much as possible. Occasionally, it is absolutely needed, but it should be considered a tool of last resort.

The preferred way of doing this is to use the InteractWith Custom Behavior with the GossipOptions attribute. The documentation is in the comments at the top of the InteractWith behavior. You can also study Kick's profiles to see how to use it properly.

cheers,
chinajade
 
If the Quest Giver has 1 Quest, it works. But with 2 Quests, he try to RunMacro but cant pickup the Quests :(
 
If the Quest Giver has 1 Quest, it works. But with 2 Quests, he try to RunMacro but cant pickup the Quests :(

mine picks up multiple quests just fine if you use the code i have in there
 
Back
Top