Za forum oficjalnym, Interface:
Cytuj:
* 2. Re: Macros and Raid Symbols. | 01/09/2006 13:00:24 PDT
* reported
quote reply
And Liquidor saves the day =)
The following macro will place an icon on the specific unit:
/script SetRaidTarget("unit",icon);
The 2 options written in bold must be changed to your likings.
* Unit:
Player = Yourself
Target = Your Target
Pet = Your Pet
Mouseover = The unit which the mouse is currently (or was most recently) hovering over
PartyN = The Nth party member excluding the player (1,2,3 or 4)
RaidN = The raid member with raidIndex N (1,2,3,...,40).
And a couple of more options, but not very commonly used...
* Icon:
A value from 0 to 8, as follows,
0 = no icon
1 = Yellow 4-point Star
2 = Orange Circle
3 = Purple Diamond
4 = Green Triangle
5 = White Crescent Moon
6 = Blue Square
7 = Red "X" Cross
8 = White Skull
Q u o t e:
Example:
1. Click mob (or player) to target it
2. Click macro button to assign a specific raid symbol (ie skull)
3. Target now has the skull raid symbol
1. Target your mob.
2. Macro: /script SetRaidTarget("Target",8);
3. Target now has the skull raid symbol.
If you want to check wherether the mob has an icon already (and then place a new one):
/script if GetRaidTargetIndex("target") then if (GetRaidTargetIndex("target") == 8) then SetRaidTarget("Target",3) end end
^ The above macro says: If target has skull(8) then place Diamond(3)
There you go =)
Report back with your results please.
Czy to będzie działać? Czy da się to tak napisać, by jednym przyciskiem/makrem, stawiać na mobach po kolei różne symbole?
target - click - pojawia się symbol - target następny mob - click pojawia się inny symbol - etc.