Simple question about targettileoffset UOS And Targeting

Discussion about the technical aspects of scripting. Ask about all issues involving your freelance projects here.
Post Reply
Mansonjr
Novice Scribe
Posts: 8
Joined: Sat Sep 21, 2019 8:23 am

Simple question about targettileoffset UOS And Targeting

Post by Mansonjr »

Hi!

I'm Pretty new to the server and trying to run some macros... From now on i was able to reach 2700 skill points yayyy :dance Thank you all the Published macros authors and modders!.

Well my problem is when i try to run a macro for example on minoc mining cave

Code: Select all

while weight < '350'and not @injournal 'no metal here'
  if @findtype 0xe86 'any' 'backpack' or @findtype 0xf39 'any' 'backpack' 1
    useobject 'found'
    waitfortarget 2000
    targettileoffset 0 -1 0
    pause 1000
  else
    headmsg "MOVE" 999
    stop
  endif
it always says "Target Cannot be seen", after a review some published macros the only working one for the orion client but i wanted to use UOS.

I learned a bit how the code works, and tried to do this simple script to map a key with it and it works... but only in felucca entrance...

How can i make it work on minoc tiles?

Thank for your time :)
Post Reply