Macros (Aion)  

Aion
Wikibase™
Guides
Contents [hide]
This page will be a tutorial on how to make simple macros, such as a text macro to repeat your Ventrilo settings to your group or alliance.

The Macro window, accessed via the "U" key (for User Functions?), has four tabs: Macro, Variable, Help, and Example.

A few rules, first:

  1. Macro's are best for chaining a few commands together to reduce overall key pressing. It is not much use for scripting entire fights.
  2. The Casting Delay seems to be .8 seconds, so that is what you need to add to the cast time when calculating seconds for /delay
  3. A macro cannot call a macro, even if the macro is on a QuickBar slot and you use /QuickBar. This will immediately stop macro execution.
  4. The longer a macro, the greater chance a millisecond of lag will break the timing of the skill sequence. The only way to work around this is to build longer delays but that does not get you optimal performance.
  5. Make certain that you are in-range before starting your attack macro, otherwise the delay of running to get into range will eat into your /delay timing!

The Macro Editor

Edit Macro window
Edit Macro window
The editor has four fields: Macro Name, Macro Description, Icon Selection, and Macro Command Text.

The Macro Name field has a maximum length of 10 characters, and 40 for the Description. The Command Text does have a length limit. As soon as I nail down the exact length, I will tell you.

The six icons shown in the Icon Selection pane are the only icons available for Macros at this time.

In the rest of this guide, we will use the following format to describe our examples:

Name: macro name
Description: This is a brief summary of what out macro does.
Command Text:

/command 1
/command 2
/command 3
etc.

A Simple Text and Skill Macro

Name: Sleep Target
Description: Sleep your target, and inform the group so they don't wake it.
Command Text:

/Brand 7
/Quickbar 2 1 1
/group [target] is asleep! You spank it, you tank it!

Let's take this simple 3-line macro apart line by line.

  1. Place the Zzz image above the target's head (this only works if you are the group leader)
  2. Execute the ability that is hotkey'd on the Alt-1 key of my #1 QuickBar Set (On my Sorcerer this is where I keep the Sleep skill).
  3. Send a message to the Group channel, naming the target and warning them not to disturb it's nap.

Slash Commands

Any Slash Command in the game can be used in a macro, but some are designed specifically for use in writing macros.

Command and SyntaxExamplesExplanation
/Variable number value/Variable 1 Blessing of Life IAssigns value to the indicated variable number. Only 10 variables, numbered 0 to 9, are available. Use them to hold things like the name of your current spell of a certain type, so that you can write a macro to use your best spells, then when you get upgrades you change the spell name in ONE place and can use it over and over in the macro without having to name it explicitly each time. Best practice is to set your variables at the top of the macro so you know where they are when you need to edit them later.
/Select name_or_variable/Select Joebobfighter
/Select [Group1]
/Select [Variable1]
Selects the indicated target, such as Joebobfighter (your tank), the first group member, or the target whose name is stored in Variable #1, and makes it your new target. BTW, [Group1] is a System-Defined Variable, which we will discuss more in the Using Variables section.
/Skill name_or_variable/Skill Flame Bolt I
/Skill Pick Up Item
/Skill [Variable1]
Executes the named or referenced skill.
/Use itemname/Use Elemental Stone of ResurrectionUses the named item.
/Quickbar RowNumber SetNumber SlotNumber/Quickbar 1 2 4Executes whatever is in the specified Quickbar slot. RowNumber is 1 for Basic Quickbar, 2 for Alt Quickbar, 3 for Ctrl Quickbar or 4 for the right-hand Quickbar, SlotNumber is 1 to 12 (10=zero, 11=minus, 12=plus), and SetNumber is 0 to 9. So, the example at left would execute whatever is on the 4 key on my Basic QuickBar row of the #2 Quickbar set.

Using Variables

System Defined Variables

VariableExplanation
[yourself]
[pet]
Refers to yourself, or your pet, allowing you to use commands such as /Select [yourself] to quickly make yourself the target of the next action.
[group1] to [group1]
[pet1] to [pet5]
Refers to your 5 group members, or their pets, which lets you to use commands such as /Select [group2] to quickly make the 2nd group member the target of the next action. If you like, you can think of yourself as group0.
[target]Refers to your current target.
[previoustarget]Refers to whatever you had targeted last, which helps you easily write a macro that changes target to the tank, heals him, then switches back to the mob so you can add your little bit of healer DPS.
[targetoftarget]This is your assist variable, so you can easily target the MA and then switch to his target. Equivalent to pressing the backtick (`) key.
This page needs more information! If you'd like to contribute, please edit this page (free ZAM account required)!

Categories: Aion Stubs | Guides (Aion) | Aion
This page last modified 2010-07-01 01:33:04.