Jump to content


Photo

Macro help/advice


  • Please log in to reply
82 replies to this topic

#81 finnmaccool

finnmaccool

    Glass Joe

  • Members
  • 18 posts

Posted 13 March 2013 - 04:37 PM

Macro help please.

a rotation macro that announces set player names on a rotation.
idea behind this macro is that is you enter in player names in advance, and then every time an event happens you press the button is it does a /rw with the player names in rotation you want.

saw this getting used for 2 ppl that needed to soak Balaork crystal in Firelands.
so pressing 1 button would announce "player 1,2"
hitting it again would announce "players 3,4
hitting it again would announce "players 5,6

hitting it again would announce "players 1,2"
...
the player said he used an array /constants that incremented , and that he had to have a different macro that just reset the order.

given a base macro, i will be able to edit it to give the rotation/player that i want (can see this having been used in ToES first bosses HC ect..) i just don't know how to have the counter mechanics work :(

thanks :)

#82 finnmaccool

finnmaccool

    Glass Joe

  • Members
  • 18 posts

Posted 14 March 2013 - 12:45 PM

Macro help please.

a rotation macro that announces set player names on a rotation.

thanks :)




OK, what i mean is a macro that does THIS sudo code.



pre set up (probably in a different macro)
set p1 = "bob"
set p2 = "jim"
set p3 = "jake"
set p4 = "tim"
set p5 = "dave"
set p6 = "joe"

set i = 1

second macro that uses values set in first. that i can just hit every time the event happens.



if (i == 1){
/rw [p1] and [p2] take next w/e
/run SetRaidTarget("p1", 1)
/run SetRaidTarget("p2", 2)
/script SendChatMessage("Your turn!", "WHISPER", UnitName("p1"))
/script SendChatMessage("Your turn!", "WHISPER", UnitName("p2"))
i = i+1
}
if (i == 2) {
/rw [p3] and [p4] take next w/e
/run SetRaidTarget("p1", 1)
/run SetRaidTarget("p2", 2)
/script SendChatMessage("Your turn!", "WHISPER", UnitName("p3"))
/script SendChatMessage("Your turn!", "WHISPER", UnitName("p4"))
i = i+1
}
if (i == 3){
/rw [p5] and [p6] take next w/e
/run SetRaidTarget("p1", 1)
/run SetRaidTarget("p2", 2)
/script SendChatMessage("Your turn!", "WHISPER", UnitName("p5"))
/script SendChatMessage("Your turn!", "WHISPER", UnitName("p6"))
i = 1
}

#83 piloui

piloui

    Glass Joe

  • Members
  • 2 posts

Posted 18 September 2013 - 04:02 PM

Check my video for 40 sec dark soul pull macro.

Wow 5.4 live Warlock Archimonde/Kiljaeden/Dark Soul x2 macro. - YouTube

Posted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users