Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:MACRO cast
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Optionset === You may use 'no' in front of any of these to invert the logic result. All of the options below except 'target' are actually conditions that the script will check before casting the spell. If any of the conditions in a set are false, the script will move on to the next option set, or the next semicolon (;) if there are no more; if all of the conditions in a set are true, the script will ignore any more option sets and cast 'spellname'. Once it successfully casts a 'spellname', the rest of that line is ignored (see Examples at bottom). Because 'target=' is a command (not a condition), you can use multiple option sets to automatically cast the spell on the appropriate target (see Examples at bottom). Its important to note that '@mytarget' is an alternate form of 'target=mytarget' where you can use @Fred to cast on Fred, or @player to cast spell on self. *actionbar, bar - If you are using this particular actionbar. You must specify actionbar:# (#=action bar number). * button, btn - If you clicked a particular button to cast the spell (button:#, where #=1-5, LeftButton, RightButton, MiddleButton, Button4, or Button5). * channeling - If you are channeling a spell. You may optionally specify a specific spell using spell:''spellname''. * combat - If you are in combat. * dead - If the target is dead. * equipped, worn - If you are currently equipping a specific item, item of a particular class or subclass, or have an item in a particular slot. (ex. equipped:item, see below for details). * exists - If the target exists (case insensitive). * flyable - If you are in an area where flying is allowed. * flying - If you are flying. * group - If you are in a group. You may optionally specify group:party or group:raid. * harm, nohelp - If target is hostile. * help, noharm - If target is friendly. * indoors - If your are indoors (anywhere you cannot mount is considered indoors). * modifier, mod - If the click is modified with shift, ctrl, or alt. You may optionally specify which one by using modifier:key (key=shift, ctrl, or alt). -- "key=..." doesn't seem to work; use "mod" keyword for ctrl and alt. When using shift, the change actionbar function overrides this for numbers 1-6. * mounted - If you are mounted. * outdoors - You are outdoors (anywhere you can mount is considered outdoors). * party - If the target is in your party. * pet - If your pet exists. You may optionally specify a type of pet (pet:type, where type=cat,boar,ravager,etc...) * raid - If the target is in your raid. * [[Stance|stance, form]] - If you are in a particular stance. May also use stance:# to specify a particular stance (#=stance number). * spec - If you are using the specified talent specialization (spec:1 or spec:2). * talent<row>/<col> - If you are using the specified talent (talent:1/1 to talent:6/3). * stealth - If you are stealthed. * swimming - If you are swimming. * target=[[UnitId]], @[[UnitId]] - Casts on a specific target without changing your current target (see table below). * unithasvehicleui - If the target of the macro has a vehicle UI. * vehicleui - If the player has a vehicle UI.
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)