49
edits
m (This revision and previous are available under: CC BY-SA 3.0. See list of authors in previous history below.) |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{Macronav}}[[Image:questionmark-large.png|left]] | {{Macronav}}[[Image:questionmark-large.png|left]] | ||
A similar UI FAQ is posted on [http://forums.worldofwarcraft.com/board.html?forumId=11114&sid=1 Blizzard's UI & Macros Forum] and on {{link-wowinterface}}. Some commentary in the answers are referring those forums. | |||
Some | |||
== What? (Definitions) == | == What? (Definitions) == | ||
{{faqq}}'''No, really. What the heck are macros and scripts? ''' | {{faqq}}'''No, really. What the heck are macros and scripts? ''' | ||
=== Macros === | === Macros === | ||
Macros are a list of commands designed to be executed in series. | Macros are a list of commands designed to be executed in series. | ||
A macro can consist of any number of /(command)s or pure text to up 255 characters. With some exceptions, these commands behave exactly as if you had typed them into the chat window. Users wishing to use more advanced commands are recommended to see the Interface Customization and World of Warcraft API sections at | A macro can consist of any number of /(command)s or pure text to up 255 characters. With some exceptions, these commands behave exactly as if you had typed them into the chat window. Users wishing to use more advanced commands are recommended to see the Interface Customization and World of Warcraft API sections at https://addonstudio.fandom.com/WoW_customization. | ||
=== Scripts === | === Scripts === | ||
| Line 31: | Line 23: | ||
: you can enter scripts as part of macros, by putting one or more "/script" commands in your macro. | : you can enter scripts as part of macros, by putting one or more "/script" commands in your macro. | ||
So what can a script do? There are many resources on Lua scripts | So what can a script do? There are many resources on Lua scripts. However, the most important point is that scripts are able to perform many more game actions than slash commands. This is done via a set of functions (called API or Application Programming Interface) that WoW makes available for use in scripts. There is a quite extensive list of all the API functions available for use in scripts at https://addonstudio.fandom.com/WoW_customization | ||
'''NOTE: Scripts are now mainly reserved for UI, the allowable API used within the /script tag is greatly reduced. It is however still usable.''' | '''NOTE: Scripts are now mainly reserved for UI, the allowable API used within the /script tag is greatly reduced. It is however still usable.''' | ||
| Line 41: | Line 33: | ||
Also: | Also: | ||
* https:// | * https://addonstudio.fandom.com/WoW_Useful_macros for even more pre-made macros | ||
* [//www.rpgexpert.com/4118.html http://www.rpgexpert.com/4118.html] for help with macro commands and scripting in general. | * [//www.rpgexpert.com/4118.html http://www.rpgexpert.com/4118.html] for help with macro commands and scripting in general. | ||