Tuesday, March 15, 2011

Some Raid Lead Macros

I know a lot of raid leaders, like me, have turned off the default Blizzard raid UI in favor of their own custom setups. The problem this has is that it hides a lot of functionality from you that's otherwise very useful (and that I haven't found addons to replace).

I managed to find a set of macros to deal with one of these areas (world markers) and spent some time digging through the source to find out how to deal with another (role checks). I figured I'd share these with any interested parties.

World Markers


Using these will give you the targeting rune if the marker is not already active. If the marker is active, it will get cleared. (So replacing a marker will require hitting it twice.)

Blue
#showitem item:23770
/click CompactRaidFrameManagerDisplayFrameLeaderOptionsRaidWorldMarkerButton
/click DropDownList1Button1



Green
#showitem item:23771
/click CompactRaidFrameManagerDisplayFrameLeaderOptionsRaidWorldMarkerButton
/click DropDownList1Button2



Purple
#showitem item:25886
/click CompactRaidFrameManagerDisplayFrameLeaderOptionsRaidWorldMarkerButton
/click DropDownList1Button3



Red
#showitem item:23769
/click CompactRaidFrameManagerDisplayFrameLeaderOptionsRaidWorldMarkerButton
/click DropDownList1Button4



Yellow
#showitem item:23768
/click CompactRaidFrameManagerDisplayFrameLeaderOptionsRaidWorldMarkerButton
/click DropDownList1Button5



Clear all markers
#showitem item:23768
/click CompactRaidFrameManagerDisplayFrameLeaderOptionsRaidWorldMarkerButton
/click DropDownList1Button6




Role Check

/click CompactRaidFrameManagerDisplayFrameLeaderOptionsInitiateRolePoll

or

/run InitiateRolePoll()

You'll have to pick you own icon for this one. I really, really wanted to use the one for Showdown (among a few other vehicle-based spells), but it seems it's inaccessible from macros. If anyone knows or can figure out how to use it, lemme know. (I spent about 30 minutes the other night trying every method I could think of based on what I could find about the #show command.)


Code diggers may be asking themselves, if /run InitiateRolePoll() works, why not /run PlaceRaidMarker() and /run ClearRaidMarker() for the world markers. The answer is...I don't know. Blizz has decided to block those particular functions from easy use. Probably too easy to break things (as they can take arguments).

3 comments:

  1. Awesome post, thanks for the helpful info!

    ReplyDelete
  2. I'm still waiting for the mod-makers to catch up with this functionality and grant us a UI raid-marker panel for it. I'm actually shocked there hasn't been a mod for it, yet!

    ReplyDelete
  3. So am I, though I admittedly haven't looked in a couple months. I just keep waiting for SRTI to get an update that includes it...

    ReplyDelete