WoW:Macro: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(shorten, page is icky.)
Line 1: Line 1:
{{Macronav}}
{{Macronav}}
 
In the ''[[World of Warcraft]]'', a '''macro''' is grouping of several ''slash commands'' that execute together when you click a button. At any time, you can have 36 macros that are available to all your characters on all servers within one [[account]], and 18 other macros that are available to each specific character, for a total of 54 macros that each character has access to; since [[Wrath of the Lich King|version 3.0]], those "native" macros may be stored server-side. Additionally, addons may enable you to specify and use additional macros.
In the ''[[World of Warcraft]]'', a '''macro''' is a method of combining several actions to execute in a single button press or keystroke. At any time, you can have 36 macros that are available to all your characters on all servers within one [[account]], and 18 other macros that are available to each specific character, for a total of 54 macros that each character has access to. You can also have an unlimited number of Lua based (AddOn or /script created) macros that are unsaved (client or server-side) and dependent on said Lua script(s) by utilizing a [[Secure_frames_overview#macro|secure frame's]] :SetAttribute() method.


A macro may also refer to some automated method (programmed keystrokes and/or mouse movements) to fight or repeat some action. Macros, if performed ''outside of the standard game client'' may be considered [[cheating]]. Don't be afraid though: Everything you can do with in-game macros is ok.
A macro may also refer to some automated method (programmed keystrokes and/or mouse movements) to fight or repeat some action. Macros, if performed ''outside of the standard game client'' may be considered [[cheating]]. Don't be afraid though: Everything you can do with in-game macros is ok.


In the navigation box at the top right of this page, you will find links to macros deemed useful by the community for specific classes, as well as more general information concerning macro creation. The [[UI Beginners Guide]] may be a good place to start if you require a general introduction to the area; more macro-specific information can be found at [[Macro API]].


'''To edit your account-wide macros outside the game''', find your <code>World of Warcraft\WTF\Account\''<account name>''\macros-cache.txt</code> file, and edit it using Notepad or another trusted text editor. (Wordpad does not work even if you save it as a text file.) To edit your character-specific macros, find your <code>...\Account\''<account name>''\''<server name>''\''<char name>''\macros-cache.txt</code> file, and edit it in the same manner. As you do this, note that the macros should probably be numbered starting with 1 and continue to 18 on the account-wide macros; and starting with 16777217 and continue to 16777234 for your character-specific macros. They don't need to be in order from the beginning of the file. It is probably best to save at least one account-wide and one character-specific macro in the game before you create your own macro file, to be familiar with macro file structure and to be sure of the numbering of macros.
== Editing macros outside of WoW ==
 
You can edit macros outside of the game by editing the <code>World of Warcraft\WTF\Account\''<account name>''\macros-cache.txt</code> and <code>...\Account\''<account name>''\''<server name>''\''<char name>''\macros-cache.txt</code> files, containing account-wide and per-character macros respectively. Note that the macros should probably be numbered starting with 1 and continue to 36 on the account-wide macros; and starting with 16777217 and continue to 16777234 for your character-specific macros. They don't need to be in order from the beginning of the file. It is probably best to save at least one account-wide and one character-specific macro in the game before you create your own macro file, to be familiar with macro file structure and to be sure of the numbering of macros.
== Macros in ''World of Warcraft'' 1.0 ==
{{main|Macro (1.0)}}
 
== Macros in ''World of Warcraft'' 2.0 ==
The 2.0 release of the ''World of Warcraft'' game engine revamped how macros were made and how they were used.[http://forums.worldofwarcraft.com/thread.html?topicId=64187212&sid=1]
 
For a comprehensive guide to the new macros, see [[HOWTO: Make a Macro|2.0 Macro guide]].
 
== Macros in ''World of Warcraft'' 3.0 ==
The 3.0 release of the ''World of Warcraft'' game engine introduced server-side saving of Macros.[http://forums.worldofwarcraft.com/thread.html?topicId=11162847363&sid=1]
 
 
----
Welcome to the macros section.  Here you will find sample macros others have developed to meet a particular need.  If you are unclear what a [[UI_Beginners_Guide#Slash_Commands|slash command]], [[UI_Beginners_Guide#Macros|macro]] or [[UI_Beginners_Guide#Scripts|script]] is, you are encouraged to visit the [[UI Beginners Guide]].  Although slash commands, macros, and scripts are technically different, the term ''macro'' is often used loosely. 
 
If you need detailed instructions for creating your first macro, please visit [[HOWTO: Make a Macro]].  If you have questions regarding the limitations and capabilities of macros, please visit [[UI FAQ/Macros and Scripts]].  For a full list of macro commands, see the [[Macro API]].  If you have questions concerning the logic of a particular macro, you may find your answers under the [[World of Warcraft API]].
 
This section is broken down by macro use or application.  General purpose macros used by all classes can be found under [[Useful macros]].  Macros that are class specific can be found under the respective class page.
{|
| {{ClassIcon|Druid|Small}} [[Useful macros/Druid|Druid]] || &nbsp;&nbsp;&nbsp; || {{ClassIcon|Paladin|Small}} [[Useful macros/Paladin|Paladin]] || &nbsp;&nbsp;&nbsp; || {{ClassIcon|Shaman|Small}} [[Useful macros/Shaman|Shaman]]  || &nbsp;&nbsp;&nbsp; || {{ClassIcon|DeathKnight|Small}} [[Useful macros/Death knight|Death Knight]]
|-
| {{ClassIcon|Hunter|Small}} [[Useful macros/Hunter|Hunter]] || &nbsp;&nbsp;&nbsp; || {{ClassIcon|Priest|Small}} [[Useful macros/Priest|Priest]] || &nbsp;&nbsp;&nbsp; || {{ClassIcon|Warlock|Small}} [[Useful macros/Warlock|Warlock]]
|-
| {{ClassIcon|Mage|Small}} [[Useful macros/Mage|Mage]] || &nbsp;&nbsp;&nbsp; || {{ClassIcon|Rogue|Small}} [[Useful macros/Rogue|Rogue]] || &nbsp;&nbsp;&nbsp; || {{ClassIcon|Warrior|Small}} [[Useful macros/Warrior|Warrior]]
|}
 
You will notice a navigation box on many of the macro pages including this one.  This box can help you quickly move between various collections of macros.
 
One final note:  Macro functionality may change as Blizzard continues to evolve World of Warcraft.  Over time, some macros may cease to function.  Keep this in mind when working with a macro written by someone else.


Have fun and good luck!
== Archived ==
* [[Macro (1.0)]]: a collection of various macros that were usable in vanilla WoW.


[[Category:Newbies]]
[[Category:Newbies]]

Revision as of 00:24, 29 March 2009

Macros
General guides

In the World of Warcraft, a macro is grouping of several slash commands that execute together when you click a button. At any time, you can have 36 macros that are available to all your characters on all servers within one account, and 18 other macros that are available to each specific character, for a total of 54 macros that each character has access to; since version 3.0, those "native" macros may be stored server-side. Additionally, addons may enable you to specify and use additional macros.

A macro may also refer to some automated method (programmed keystrokes and/or mouse movements) to fight or repeat some action. Macros, if performed outside of the standard game client may be considered cheating. Don't be afraid though: Everything you can do with in-game macros is ok.

In the navigation box at the top right of this page, you will find links to macros deemed useful by the community for specific classes, as well as more general information concerning macro creation. The UI Beginners Guide may be a good place to start if you require a general introduction to the area; more macro-specific information can be found at Macro API.

Editing macros outside of WoW

You can edit macros outside of the game by editing the World of Warcraft\WTF\Account\<account name>\macros-cache.txt and ...\Account\<account name>\<server name>\<char name>\macros-cache.txt files, containing account-wide and per-character macros respectively. Note that the macros should probably be numbered starting with 1 and continue to 36 on the account-wide macros; and starting with 16777217 and continue to 16777234 for your character-specific macros. They don't need to be in order from the beginning of the file. It is probably best to save at least one account-wide and one character-specific macro in the game before you create your own macro file, to be familiar with macro file structure and to be sure of the numbering of macros.

Archived

  • Macro (1.0): a collection of various macros that were usable in vanilla WoW.