WoW:Macro FAQ: Difference between revisions

76 bytes added ,  15 August 2023
m
Move page script moved page Macro FAQ to WoW:Macro FAQ without leaving a redirect
No edit summary
m (Move page script moved page Macro FAQ to WoW:Macro FAQ without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Macronav}}
{{Macronav}}[[Image:questionmark-large.png|left]]
==Macros==
Frequent questions and answers for [[macro]]s.
{{Clrl}}


{{faqq}}How do I write a Macro?
{{faqq}}How do I write a Macro?
{{faqa}}See the [[Macros]] page.
{{faqa}}See the [[Macros]] page.


{{faqq}}How do I write a Macro to do XXXX?
{{faqq}}How do I write a Macro to do XXXX?
{{faqa}}Check the [[Most Used Macros]] to see if someone has already done something like this. Check the question below "What can't a macro do?" to see if its going to be impossible. If neither of these help, try asking on the [http://forums.worldofwarcraft.com/board.html?forumId=11114&sid=1 World of Warcraft UI & Macros Forum].
{{faqa}}Check the [[Most Used Macros]] to see if someone has already done something like this. Check the question below "What can't a macro do?" to see if its going to be impossible. If neither of these help, try asking on the [http://forums.worldofwarcraft.com/board.html?forumId=11114&sid=1 World of Warcraft UI & Macros Forum].


{{faqq}}What can't a macro do?
{{faqq}}What can't a macro do?
Line 22: Line 21:
{{faqq}}So what can a macro do?
{{faqq}}So what can a macro do?
{{faqa}}You can call [[World of Warcraft API|any script command]] (/script ''ScriptFunction''), any standard WoW /command such as /say or /attack, and any additional /commands made available by the AddOns you've installed. (If you need to write a long macro, write it as an AddOn in a lua file and bind it to a slash command. See the section on Lua and XML for more details.)
{{faqa}}You can call [[World of Warcraft API|any script command]] (/script ''ScriptFunction''), any standard WoW /command such as /say or /attack, and any additional /commands made available by the AddOns you've installed. (If you need to write a long macro, write it as an AddOn in a lua file and bind it to a slash command. See the section on Lua and XML for more details.)


{{faqq}}What's the real deal with pauses?
{{faqq}}What's the real deal with pauses?
Line 35: Line 33:
The game-freezing pause this script causes can be an unsettling and undesired side-effect for some players. The freeze can prevent the player from perceiving the visual results of the /command immediately preceding this script.  So depending on the duration you specify, the greater the pause, the more background action you will miss.  
The game-freezing pause this script causes can be an unsettling and undesired side-effect for some players. The freeze can prevent the player from perceiving the visual results of the /command immediately preceding this script.  So depending on the duration you specify, the greater the pause, the more background action you will miss.  
This effect is strictly local and does not impact the game server or other players in any way.  Though you may partially or entirely miss the results, you ''can'' be assured that the preceding /command ''is'' in actuality transmitted to the server and executed before the localized freeze takes place.   
This effect is strictly local and does not impact the game server or other players in any way.  Though you may partially or entirely miss the results, you ''can'' be assured that the preceding /command ''is'' in actuality transmitted to the server and executed before the localized freeze takes place.   
 


See the [[World of Warcraft API]] for more on time based script commands.
See the [[World of Warcraft API]] for more on time based script commands.
Anonymous user