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

Moving only one item!
http://forum.yoko.com.ua/viewtopic.php?f=3&t=1044
Page 1 of 1

Author:  Sauza [ 2004-08-01 06:41:15 ]
Post subject:  Moving only one item!

I have 1000 Gps (0x0EED) in the container (0x401150E0)
I need to move one Gp to a predefined xposition and yposition on my screen.

Code:
var xpos='680'
var ypos='75'

uo.findtype(0x0EED,0x0000,0x401150E0)
uo.moveitem('finditem','1',xpos,ypos)



Whats wrong?? , Thank You

Author:  Yoko [ 2004-08-01 08:35:48 ]
Post subject: 

moveitem use real UO coordinates, not screen ones
also third parameter is container serial

Author:  Sauza [ 2004-08-01 16:17:20 ]
Post subject: 

but, if i need to put a GP in the upper corner of my backpack, what can i do?

Author:  Yoko [ 2004-08-02 22:45:54 ]
Post subject: 

,moveitem itemserial count boxserial inboxX inboxY inboxZ

where inboxXYZ you may find out if you use ,info on item there

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