Using hatchet in relative position --> Target cannot be seen

LandoFleet

Apprentice
Hello everyone,

I am trying to setting up a really simple macro for hacking wood.

The problem is, even though my position should be correct (one tile east of the tree) it always says 'Target cannot be seen'.
I tried to move around the tree in the case my relative position in the macro is not correct, but can't find any position where it works.

position.png
macro.png


Using my hatchet, waiting for target, and selecting relative to me a tree.

Anybody can help what I am doing wrong?

Thanks
 

Rikket_The_Rogue

Grandmaster
Generally speaking my advice is to turn off circle of transparency, and target the trunk of the tree in question.

But if you're already doing that I don't know, man.
 

Wyntr

Master
For targeting trees only targettileoffset works. Here is the code I use to target trees. It will detect where you are relative to the tree and target it.

Code:
if direction == 0
    targettileoffset! 0 -1 0
  elseif direction == 1
    targettileoffset! 1 -1 0
  elseif direction == 2
    targettileoffset! 1 0 0
  elseif direction == 3
    targettileoffset! 1 1 0
  elseif direction == 4
    targettileoffset! 0 1 0
  elseif direction == 5
    targettileoffset! -1 1 0
  elseif direction == 6
    targettileoffset! -1 0 0
  elseif direction == 7
    targettileoffset! -1 -1 0
  endif
 
Top