Ce site requiert JavaScript pour fonctionner.
Veuillez activer JavaScript dans votre navigateur.
Live
RPT
10.2.7
RPT
10.2.6
Bêta
Kind of complicated mount macro (needs script)
Répondre
Retourner à l'index
Publication par
ushabti
Hello, I'm in need of some script macro help.
I'm looking for a macro that:
Casts my flying mount if possible (Purple Riding Nether Ray)
Casts my epic land mount if flying is not possible (Ice Mammoth)
This is where it gets complicated. If I'm in Stormwind it casts my secondary land mount (Swift Stormsaber)
I need this because the big mammoth can't fit trought some gates in Stormwind and would be nice to have only one macro for all mounting I need.
I checked the macro article in Wowwiki but didn't understand anything from the script I need, what I did understand is that this macro might be too long to fit the limit WoW has for characters in one message so if thats the case I just figure something else out.
Edit: My guild leader made me macro that works :)
/run local z=GetZoneText(),t; if not(IsFlyableArea()) or (z=="Dalaran" and not(GetSubZoneText()=="Krasus' Landing")) or (z=="Wintergrasp")then t={5} else t={6} end; if (z=="Stormwind City")then t={8} end; CallCompanion("mount",t)
Where the 5 is my mammoth, 6 is my nether ray and 8 is my saber. (The number of the mount in my mount tab)
Publication par
pelf
If I were you, I would download the mod Livestock and look through his code to see how he does it. He's already doing checks for flyable and not flyable and whether or not you're in Dalaran/Wintergrasp -- so, everything you need should be there.
Répondre
Vous n'êtes pas connecté. Veuillez vous
connecter
pour répondre à ce sujet, ou
vous inscrire
si vous n'avez pas déjà un compte.