PDA

View Full Version : Is it possible with macro condition based on Zone?



cepheus
06-23-2008, 05:34 AM
What I want to achive:
A castsequence that puts out battlestandards based on wich zone I am in.

In AV, I want one char to cast Frostwolf Battle Standard ('http://www.wowhead.com/?item=19046') and the next to cast Horde Battle Standard ('http://www.wowhead.com/?item=18607')

If I am in any other BG I just want to cast Horde Battle Standard ('http://www.wowhead.com/?item=18607')

What I have tried:
toon1
/castsequence Horde Battle Standard,,,,
/castsequence ,Frostwolf Battle Standard,,,

toon2:
/castsequence ,Horde Battle Standard,,,
/castsequence Frostwolf Battle Standard,,,,

toon3:
/castsequence ,,Horde Battle Standard,,
/castsequence ,,,Frostwolf Battle Standard,

and so on
I was hoping to get down the standards in different orders so that global cooldowns would not interfer with each standard, but seems that is doesnt work properly with more than one castsequence(unmodified) pr macro.

I can also do
/castsequence Horde Battlestandard,Frostwolf Battle Standard,,,
with different variations on each toon, but then this macro would not work in any other BG than AV.

So my question:
Is there possible to solve this without using a modifier if you are in one of the BG's and not using a modifier if you are in AV?

Zzyzxx71
06-25-2008, 04:41 PM
Hell I'd like to just have smoething that differentiated between PVP zones and non PVP zones (arena/BG's vs Outland, etc).

bugilt
06-25-2008, 05:20 PM
the API can call certain zone info.

Location Functions

These functions are related to the current location of the player and how it is displayed.

GetMinimapZoneText() - Returns the zone text, that is displayed over the minimap.
GetRealZoneText() - Returns either instance name or zone name
GetSubZoneText() - Returns the subzone text (e.g. "The Canals").
GetZonePVPInfo() - Returns PVP info for the current zone.
GetZoneText() - Returns the zone text (e.g. "Stormwind City").

Drakkun
06-25-2008, 08:10 PM
I found this addon called IHML - I Have Macro Lol! that might work. It adjusts a macro based on zone, boss fight, etc.

http://www.wowinterface.com/downloads/info8441-IHML-IHaveMacroLol.html

cepheus
06-26-2008, 08:44 PM
Ah, thanks people. I will check this out.

However I found that I think my castsequence macro actually works, its just that I have to wait 2 mins between each, since one standard adds a 2 min cooldown to the other standard. Fixing my order a bit could also help, but based on zone would be the best.

Zzyzxx71
06-27-2008, 10:06 AM
I found this addon called IHML - I Have Macro Lol! that might work. It adjusts a macro based on zone, boss fight, etc.

http://www.wowinterface.com/downloads/info8441-IHML-IHaveMacroLol.html

I tried this last night - WOW WOW WOW. Cleaned up like 6 buttons off my bars, managed to create a few more zone specific macros too. AWESOME tool.

Djarid
06-27-2008, 04:12 PM
Hell I'd like to just have smoething that differentiated between PVP zones and non PVP zones (arena/BG's vs Outland, etc).Trinity to the rescue again ;)

Many bar types to chose from - Paged - up to 6 possible pages of buttons that respond to actionbar paging keybinds in the default key binding UI Stance - responds to stance and form changes Alt, Ctrl, Shift - responds to modifier key presses to show a new set of buttons Stealth - responds to changes in stealth state Reaction - responds to the bars set target friendly/hostile reaction to your character. Combat/Retreat - shows/hides bars based on combat condition PvP/PvE - shows/hides bars based on PvP flagged state Party/Raid - these bars will hide/show themselves based on being in a party or a raid. Possession - cause a bar to switch to a new state based on if your character is in control of a hostile unit Autohide - set a bar to hide itself until it is moused-over Showgrid - set a bar to always show it's empty buttons. Prowl - a special option for druids to enable a prowl bar if the bar is also set to be a stance bar.
although perhaps only useful if you play on a PVE server

Zzyzxx71
06-27-2008, 08:27 PM
Thats great and all, but I need it to change just 1 macro or have the ability to very fast, based on zone.