Distance from lasttarget

Ask for help

Moderators: Murderator+, Murderator

Post Reply
pheeko
Posts: 6
Joined: 2004-07-06 21:23:40

Distance from lasttarget

Post by pheeko »

hello, i have a little prob! how can I get distance from target ?
i used uo.getdistance("target") but i'm not able to put it in a var or to read/print it -.-

still i can use "if uo.gettdistance blablabla", but i need it in a var or to be printed/read

help me pliz, if u can :)
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

maybe "lasttarget", not "target" ?
pheeko
Posts: 6
Joined: 2004-07-06 21:23:40

Post by pheeko »

yeah "target" is "lasttarget" but still i can't do something like uo.print(uo.getdistance("lasttarget")) or var bum = uo.getdistance("lasttarget")

and that's my prb

thx in advance
Boydon
Posts: 56
Joined: 2004-06-16 00:44:18

Post by Boydon »

Tried with:

uo.print(str(uo.getdistance("lasttarget")))

??
Post Reply