Architect Archive
Thread: macros
Would somebody point me to a site that explains how to create or macro or at least where to get commands. I would like to get one going but not sure where to start. Also in all the macros I have seen it seems you have to add resources yourself. Can this part not be automated also?
Thanks
Can't help you much about the commands....but can tell you where to start. Ctrl-A, and choose the macro tab, start a new tab and just type them in. There are several macros on this board.
And no, sorry, you cannot automate the selection of resources. ![]()
I don't know if this has been already posted or not, but thought it should be. This lets you know how to run a macro within a macro or infinatly run the same macro, without using precious too bar slots.
I keep seeing post where everyone is trying to repeat macros, and keep say it can't be done or it must be done setting the macro to a slot. this seems to be a very popular method. yet you can set a macro to call another macro from within itself by using the "/macro nameofmacro" command. this does several things. first it allows you to string macros without having to use slots to hold the macro i.e. you can run any macro listed in your macro list. which means by having a macro call itself would creat an infinate loop.
This is an example, it is a macro that selects a target get you in weapons range and attacks. It uses which ever weapon is currently selected, and works well with ranged weapons, have used it for melee, would assume though that you would have to increase the follow time, to make sure you have gotten yourself within weapons range.
/pause 0.25;
/stand;
/pause 2;
/ui action targetSelf;
/pause 2;
/ui action cycleTargetOutward;
/pause 2;
/follow;
/pause 10;
/stopFollow;
/pause 2;
/kneel;
/pause 2;
/attack;
/pause 26;
/macro afkattack;
end of macro...
The only things this missing is looting, and harvesting which you could add, and it does, cause the player to rotate as it acquires a new target, therefore you travel path is pretty linear, not sure yet how to fix this, but am working on it. if you have any questions feel free to let me know, if you have any suggestion I would like to know.
/pause 7;
/sample;
/pause 4;
/sit;
/pause 30;
/ui action toolbarSlot11
the question was brought up "how do you stop a macro?" the answer is simple: type /dump or make a macro with /dump as the only action. as long as there is a pause commend in the macro this will work. you might have to use the /dump command a couple times until it says "no more pauses to dump" or something to that effect.
the next question, can you loop a macro. the answer is simple again: of course you can! i just dont know how...J/K! all you do is in the last line of the macro put like /ui action toolbarSlot00 . not sure about the spacing between ui and action and toolbarSlot00 but thats the general format. if you use 00 then you must put the macro in the first toolbar slot on the far left. the next is 01 and then 02 and so on. hope this helps
Spikechase
Master Medic, Doctor