Results -9 to 0 of 3

Threaded View

  1. #2
    Player
    Raldo's Avatar
    Join Date
    Jul 2011
    Posts
    2,563
    Character
    Raldo Volca
    World
    Coeurl
    Main Class
    Marauder Lv 80
    Can you apply conditions to macros? No. However, it is still technically possible to do what you're asking.

    IMPORTANT CAVEAT: Generally speaking, macros for most combat actions is a bad idea. They perform slower than just putting the actions on a hotbar by themselves, and are prone to errors if you mash them repeatedly. The macro system in this game is NOT good, and I DO NOT recommend using them unless you have some sort of disability that requires such a macro.

    If you are dead set on doing this, however, simply put both actions in the macro. Put the offensive one first. If you are targetting an enemy, it will use the offensive action, if not, it will use the friendly one. It's not really a conditional, per se. This only works because the game does not allow you to cast offensive actions on allies, so if that one errors out, it continues on down to the next line. Heck, even the action order probably doesn't matter, since you can't cast friendly actions on enemies.

    /micon "Brand of Earth"
    /macroerror off
    /ac "Stone" <t>
    /ac "Cure" <t>

    Something like that.

    - Line one sets the macro image (so it's not just a grey square with an M)
    - Line two stops the chat log from getting spammed with error messages like "You can't do that, you're not targetting an enemy", "You can't do that, you're currently casting a spell", etc.
    - Line three is your offensive action.
    - Line four is your friendly action.
    (1)
    Last edited by Raldo; 05-15-2019 at 02:26 PM.