I wanted something that could make all my chars meet back in POK when I do not have a wizard for AOE TL. I also have wanted to get better at understanding macros so I decided to write my own. My first attempt (which gets the job done) is just a basic loop with what you'll see below that just spammed a bunch of stuff no matter the class/zone, and it worked, but I wanted to learn more and have it only do certain pieces based on class. For example, KB,KA,BB, are paths for a beserker to run from Kaladim B. There is no need for my warrior / bard in GFay to bother with this. . The advpaths are for different zones that I recorded based on where the classes origin to and I haven't gotten that far yet to update them in the new format.
My current problem is the mac works fine, ends automatically if in pok or when chars reach there, and melee origin, and casters mem gate, and cast it. If for some reason I interrupt gate, the caster will then try to origin but I'm not sure why. Maybe there is something in my argument for GoHomeMelee that allows it to trigger on the second go through, but the first time I run the mac they do not do try to origin.
So my questions so far are:
1. Why does the cleric cast origin if I manually interrupt gate?
2. Would it be better to call a class check in the main loop then /call different subs based on where they origin to? or should I leave as is, then as I get to the paths, add /calls to the main loop to go to subs based on the current zone someone is in and their class (for example, bards and wars both go to Kelethin, but need different paths)
I understand it's simple, but this is my first attempt at anything other than down/holy shits or altering someone elses macro slightly for my own use so go easy
. The If char shortname piece comes from KA, so maybe I'm not fully understanding that. Maybe it would be better in the main loop to do a /call based on class, rather than having all melee go to the same sub (when I get to adding specific paths based on class).
I know MQ2Nav may be a better answer, but I haven't been able to find how to /nav to a zone line. I can nav to the pokbooks when in the zone with them. It is something along the lines of "/nav door id poktele500 click" and finally, MQ2Nav does not get along with Kelethin. It will just run to the edge of one of the level up top closest to the pok book on the ground and stop. Advpath has no probably running straight off based on my recorded paths.
Thank you for the help.
My current problem is the mac works fine, ends automatically if in pok or when chars reach there, and melee origin, and casters mem gate, and cast it. If for some reason I interrupt gate, the caster will then try to origin but I'm not sure why. Maybe there is something in my argument for GoHomeMelee that allows it to trigger on the second go through, but the first time I run the mac they do not do try to origin.
So my questions so far are:
1. Why does the cleric cast origin if I manually interrupt gate?
2. Would it be better to call a class check in the main loop then /call different subs based on where they origin to? or should I leave as is, then as I get to the paths, add /calls to the main loop to go to subs based on the current zone someone is in and their class (for example, bards and wars both go to Kelethin, but need different paths)
I understand it's simple, but this is my first attempt at anything other than down/holy shits or altering someone elses macro slightly for my own use so go easy
. The If char shortname piece comes from KA, so maybe I'm not fully understanding that. Maybe it would be better in the main loop to do a /call based on class, rather than having all melee go to the same sub (when I get to adding specific paths based on class). I know MQ2Nav may be a better answer, but I haven't been able to find how to /nav to a zone line. I can nav to the pokbooks when in the zone with them. It is something along the lines of "/nav door id poktele500 click" and finally, MQ2Nav does not get along with Kelethin. It will just run to the edge of one of the level up top closest to the pok book on the ground and stop. Advpath has no probably running straight off based on my recorded paths.
Thank you for the help.
Rich (BB code):
|GoHome.Mac
|By Levox
|A macro to gate your casters, origin your melee, and have everyone get back to POK on their own
#Turbo
Sub Main
/twist off
:loop
/doevents
/Call POK
/Call GoHomeMelee
/Call GoHomeCasters
/if (${Zone.ID}==67 && !${AdvPath.Playing}) /play kb
/if (${Zone.ID}==60 && !${AdvPath.Playing}) /play ka
/if (${Zone.ID}==68 && !${AdvPath.Playing}) /play bb
/if (${Zone.ID}==54 && ${Me.Class.ID}==8 && !${AdvPath.Playing}) /play bard
/if (${Zone.ID}==54 && ${Me.Class.ID}==1 && !${AdvPath.Playing}) /play war
/delay 5s
/goto :loop
/return
|---------------------------------
| Checking to see if I'm in POK
|---------------------------------
Sub POK
/if (${Zone.ID}==202) {
/endmac
}
/return
|---------------------------------
| GoHome Melee
|---------------------------------
Sub GoHomeMelee
/if (${Me.AltAbilityReady[Origin]} && ${Select[${Me.Class.ShortName},BRD,BER,MNK,ROG,WAR]}) (
/alt activate 331
}
/return
|---------------------------------
| GoHome Casters
|---------------------------------
Sub GoHomeCasters
/if (${Select[${Me.Class.ShortName},CLR,ENC]}) {
/memorize "gate|7"
/delay 10s
/casting gate
}
/return

