Moving only one item!

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Sauza
Posts: 33
Joined: 2004-07-02 22:58:37

Moving only one item!

Post by Sauza »

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: Select all

var xpos='680'
var ypos='75'

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



Whats wrong?? , Thank You
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

moveitem use real UO coordinates, not screen ones
also third parameter is container serial
Sauza
Posts: 33
Joined: 2004-07-02 22:58:37

Post by Sauza »

but, if i need to put a GP in the upper corner of my backpack, what can i do?
Yoko
Site Admin
Posts: 1964
Joined: 2004-04-03 16:49:38
Contact:

Post by Yoko »

,moveitem itemserial count boxserial inboxX inboxY inboxZ

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