« Macros » : différence entre les versions

De Wiki Arthion
Aucun résumé des modifications
Aucun résumé des modifications
 
(Une version intermédiaire par le même utilisateur non affichée)
Ligne 2 : Ligne 2 :
/p <se.11>  avec le chiffre variable
/p <se.11>  avec le chiffre variable


[poem]
<poem>
What is a macro?
What is a macro?


Ligne 73 : Ligne 73 :
<lastattacker> (<la>) Displays the name of the last enemy on which you inflicted damage or used an action.
<lastattacker> (<la>) Displays the name of the last enemy on which you inflicted damage or used an action.
<pet> (<p>) Displays the name of your current pet.
<pet> (<p>) Displays the name of your current pet.
<se.1>~<se.16> Plays a sound effect when used in party chat.[/poem]
<se.1>~<se.16> Plays a sound effect when used in party chat.</poem>
 
 
<poem>
Macro pour ciblage automatique
/marking "Target to Attack 1"
/ac "Target Forward"
/marking "Target to Attack 2"
/ac "Target Forward"
/marking "Target to Attack 3"
/ta <attack1>
</poem>

Version actuelle datée du 15 février 2014 à 08:57

Jouer une alerte sonore pour tous les membres du groupe
/p <se.11> avec le chiffre variable

What is a macro?

A macro, for the purpose of MMOs, is a quick way of hitting a single button or key which will then do multiple things sequentially, and sometimes conditionally (unsure of this in FFXIV:ARR) if certain circumstances are met. For FFXIV:ARR, they must use the commands in the aforementioned link to work.
Why are they necessary?

Macros are not necessary, per se, but they are a useful tool for those willing to put in only a little extra time to set them up. Rather than hitting multiple buttons, or saying multiple things, you can have a macro button you just hit and it will do this for you.

Scenario: Let's say I am a CNJ or WHM and I want to Raise someone after our group just had about five people die. Then let's say there is another CNJ/WHM. What if we both start casting Raise at the same time on the same target, but didn't pay attention to the fact that we are targeting the same person? It casts at the same time...on the same target. One of them was wasted, since it could have been used on another dead player. There is a 12 second cooldown between Raise casts. Annoying.

Macro Solution: As a CNJ, you could have a macro set up to announce to the group whom you are Raising, as well as cast the actual Raise spell, without typing a thing and only pressing one button.

The Macro: Here would be the macro to do that:

/s Raising <t>

/ac Raise <t>

You prepare this macro ahead of time and assign it to a button. All you have to do to use it is target a dead player and press that button. Let's say the dead player's name is Quina Quen. When you use this macro, the people around you will see you say "Raising Quina Quen", and you will immediately and automatically start casting Raise on Quina Quen.

This is just a very small, basic, two-line macro. If this sounds like a great thing to you (and it is!), then welcome to the world of macros!

Basic Commands to get you started (non-exhaustive list) (Acceptable short-hand is in parentheses.)

Brackets are definitely not needed, but quotes are needed if you are using two words for a target or ability. E.g., a player's name.
Command Description
/? [command_name] Gives a detailed explanation of specified command. Abbreviations can be used. All command names must be one word or in quotation marks.
/say (/s) [message] Sends a message to all PCs within a small radius. Typing /say or /s without a message switches the default chat mode to [Say].
/party (/p) [message] Sends a message to all members of your current party, regardless of their location. Typing /party or /p without a message switches the default chat mode to [Party].
/action (/ac) “action name” “PC name” Uses an action on specified target. Uses current target when not specified. This cannot be used with actions you have not yet learned, or when restricted by other factors.
/target (/ta) “PC name” (placeholder) Targets the specified target. Target must be within range for this command to function.
/targetenemy (/tenemy) Targets the closest enemy within a certain radius.
/battletarget (/bt) Targets the closest enemy within a certain radius that is attacking you.
/assist (/as) Targets the target of another PC or NPC. (A target must be specified.) Assists current target when not specified.
/facetarget (/ft) Immediately turns your PC in the direction of your current target.
/targetlastenemy (/tle) Re-target the last enemy you targeted.
/marking (/mk) [target type] “PC name” (placeholder) Set a sign on the specified target. Uses current target when not specified. Target types: attack1–5, bind1–3, ignore1–2, circle, cross, square, triangle, off (Turns off enemy sign.) Example: /marking attack1 (Sets sign “Target to Attack 1” on current target.)
/wait [wait time] A macro command for adjusting the pause between commands. A wait time amount of 1 equals one second. The maximum wait time allowed is 60. If the wait time amount is over 60, it will be counted as 0.
/recast Displays time remaining until the specified action can be used again.
/battlemode (/bm) [subcommand] Toggle between active and passive mode. Switches to opposite mode when no subcommand is specified. Subcommands: On – Draw weapon. Off – Sheathe weapon.
/check (/c) “PC name” (placeholder) Examines the specified target. Examines current target when not specified.
/macroicon [action name] Displays icon, recast time, help text, and other information regarding the specified action. Can only be used once in the first line of a user macro.

Placeholders (Acceptable short-hand is in parentheses.)
Placeholder Description
<t> Displays current target name.
Displays target of current target’s name.
<me> Displays your character’s name.
<0> Displays your character’s name.
<1>~<8> Display Party Member 1-8's name.
<attack1>~<attack5> Displays Target to Attack 1–5’s name.
<bind1>~<bind3> Displays Target to Bind 1–3’s name.
<stop1>~<stop2> Displays Target to Stop 1–2’s name.
<square> Displays target marked with a square’s name.
<circle> Displays target marked with a circle’s name.
<cross> Displays target marked with a cross’s name.
<triangle> Displays target marked with a triangle’s name.
<mo>,<mouse> Displays mouseover target’s name.
<hp> Displays current HP and maximum HP.
<hpp> Displays current HP as a percentage.
<mp> Displays current MP and maximum MP.
<mpp> Displays current MP as a percentage.
<tp> Displays current TP.
<class>,<job> Displays current class and level.
<pos> Displays coordinates of current location.
<reply> (<r>) Displays the name of the last player from whom you received a /tell.
<focus> (<f>) Displays the name of your focus target.
<lasttarget> (<lt>) Displays the name of your last target when no target is currently selected. Displays the name of your previous target when a target is selected.
<lastenemy> (<le>) Displays the name of your last enemy target.
<lastattacker> (<la>) Displays the name of the last enemy on which you inflicted damage or used an action.

<pet> (

) Displays the name of your current pet.
<se.1>~<se.16> Plays a sound effect when used in party chat.


Macro pour ciblage automatique
/marking "Target to Attack 1"
/ac "Target Forward"
/marking "Target to Attack 2"
/ac "Target Forward"
/marking "Target to Attack 3"
/ta <attack1>