How to setup macro to mine all surrounding tiles?

Playguides written by Staff and Players.
Much more information on specific skills can be found in our T2A wiki.
Post Reply
User avatar
Jakob
Posts: 400
Joined: Wed Feb 13, 2013 3:12 am
Location: Sweden

How to setup macro to mine all surrounding tiles?

Post by Jakob »

Hey all!

I've been trying to setup a macro that will mine all closest 9 tiles around me. One in each direction and the one I'm standing on. It wont work though, it'll not run through all my hotkeys that I made (for each direction)

For example:

Hotkey for North direction:
1. D-click pickaxe
2. Wait for target
3. Relative location

First I put in all direction hotkeys like this:

N
NE
E
SE
S
SW
W
NW
0 (tile I'm standing on)

Then I added an If-conditional after each one (If "no metal") so it would switch to mining in a new direction.

Basically, I wish to make it so that if one tile is dry of ore, I want to mine the next tile in the queue. It seems only to do the first two or so and then restart. Is it even possible to make a macro like this (cause I've not seen any such macro when searching the forums)?
Lankgord: Hello. I'm New To The Server. Any Drama Going On Lately?

[20:38] <newYorK>i love how franz is in game robbing me while im reading his comic
[20:38] <newYorK> priceless

okgoace
Posts: 252
Joined: Mon Feb 18, 2013 5:36 pm

Re: How to setup macro to mine all surrounding tiles?

Post by okgoace »

Im at work so i am just giving you an idea. Try creating multiple macros for "move w mine, move nw mine" then in your main macro do something like "call macro a; if nothing; call macro b; if nothing; call macro c"

Pirul
Posts: 5754
Joined: Wed Jan 27, 2010 8:19 pm
Location: New Windmere

Re: How to setup macro to mine all surrounding tiles?

Post by Pirul »

Pro Tip: Target Relative Location is your friend.

I'll be on IRC tonight if you still need help setting it up.

:wink:
Image
<ian> 2 chicks making out are not gay

User avatar
Nightchill
Posts: 25
Joined: Sat Jul 21, 2012 9:01 pm

Re: How to setup macro to mine all surrounding tiles?

Post by Nightchill »

Yes, Target Relative combined with multiple macros could do this.
Image

Post Reply

Return to “Guides”