Yoko
http://forum.yoko.com.ua/

Distance from lasttarget
http://forum.yoko.com.ua/viewtopic.php?f=3&t=789
Page 1 of 1

Author:  pheeko [ 2004-07-06 21:25:31 ]
Post subject:  Distance from lasttarget

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 :)

Author:  Yoko [ 2004-07-06 21:42:06 ]
Post subject: 

maybe "lasttarget", not "target" ?

Author:  pheeko [ 2004-07-06 22:10:15 ]
Post subject: 

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

Author:  Boydon [ 2004-07-07 01:03:06 ]
Post subject: 

Tried with:

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

??

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/