| |
Top 5 Way-Too-Frequently Asked Questions Credit:Gello
How do I use a trinket in a macro?
- /script UseInventoryItem(13) or /script UseInventoryItem(14)
What UI is this? [link of a 500mb video of someone else playing WoW]
- Take a screenshot to post and ask again.
How do I change the look of things? Like my armor, weapons, mount, or myself?
- It's not permitted, and that is enforced in 1.11.
How do I wait in a macro to cast a spell later?
- You can't.
How do I switch main hand to offhand weapon?
- /script PickupInventoryItem(16) PickupInventoryItem(17)
Here are some of the most common FAQs ... feel free to add the FAQ (with answer, of course) that most annoys you in your reply, and I'll edit this post to include it. ;) Corrections and suggestions (both informational and grammatical) also welcome. ;)
Thanks go out to everyone who has made suggestions and comments; those who have provided additional FAQs for this post; those who have tirelessly and patiently answered all the n00bs' questions; and yes, even the n00bs themselves, for without their endless questions, this FAQ wouldn't exist. ;)
NOTE TO ALL POSTERS: Replies to this thread should only contain comments or suggestions about this FAQ, or should contain a new frequently-asked question with answer included! Please, DO NOT clutter up this thread with questions that you need answers to... that's why we have this entire forum.
See this thread for the Mods FAQ: http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=425492&p=1&tmp=1#post425492
Contents
1. What? (Definitions)
- 1.1 Macros
- 1.2 Scripts
2. Where? (Where can I learn more about macros / scripting?)
3. How? (How do I use?)
- 3.1 General
- 3.2 Spells, Abilities and Buffs
- 3.3 Interacting with the World
4. Addendum on chaining spells
1. What? (Definitions)
No, really. What the heck are macros and scripts? Credit:Legorol, as posted at http://www.wowwiki.com
Macros
Macros are 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 wowwiki.com.
Scripts
Usually, not just in WoW, the term Script refers to a short to medium length program, written in some kind of simple programming language (called a scripting language). The purpose of a script is usually to control another program.
World of Warcraft has a powerful programming language called Lua embedded inside it, which is used for scripting. What this means is that WoW is able to understand and execute little programs written in the Lua language. However, in WoW, a script is usually not something that you use by itself, i.e. you don't just type in a script and execute it (although this is also possible). Instead, there are several places in WoW where you have the option to enter scripts as part of something else.
The kind of places that you can use a script:
/script <Lua code>
If you type the slash command "/script" in the chat box, you can follow it with one or more valid Lua language statements (i.e. a script).
Macros
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 (the main one being http://www.wowwiki.com); 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 http://www.wowwiki.com[ post edited by Cairenn ]
UI Dev, Hosting & Support
www.WoWInterface.com
|