im trying to create a fairly basic macro for my wife to do mining so she can just push a button and mine at her feet
use object shovel
wait for target
target relative location
now the relative location is going to be right at the characters feet, the same tile the character is standing on
but im not sure what this line of code in the macro means or what to do with it
targettilerelative (serial) (range) [reverse: 'true' or 'false']
uo steam mining macro help
Re: uo steam mining macro help
have you tried ?
I have this code to mine one tile at the front of person (using direction)
this way I can mine places where I cannot stand. Like vertical cliffs.
Code: Select all
targettileoffset 0 0 0
this way I can mine places where I cannot stand. Like vertical cliffs.
Code: Select all
waitfortarget 2000
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
pause 200
Re: uo steam mining macro help
just tried using both of those and they keep coming up as target cannot be seen
keeping the macro as simple as i can
useobject 0x41405193 <--- thats the shovel
waitfortarget 1000
targettileoffset 0 0 0
keeping the macro as simple as i can
useobject 0x41405193 <--- thats the shovel
waitfortarget 1000
targettileoffset 0 0 0
Re: uo steam mining macro help
update:
the macro works while in a mine in tokuno
but i get the target cannot be seen error while trying to mine at minoc
the macro works while in a mine in tokuno
but i get the target cannot be seen error while trying to mine at minoc
Re: uo steam mining macro help
At this point:
still some flaws but works in general.. still on details.. or if anyone has some extras..!?
Code: Select all
useobject 0x436B73A1
waitfortarget 15000
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
pause 750
replay
Re: uo steam mining macro help
I noticed that UO Steam can't target tile offsets in Trammel. It always says "cannot be seen". Razor didn't seem to have any problems at all though - haven't tried with Razor Enhanced yet.