Yoko

All sides of Injection
It is currently 2026-03-14 10:40:12

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Moving only one item!
PostPosted: 2004-08-01 06:41:15 
Offline

Joined: 2004-07-02 22:58:37
Posts: 33
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


Top
   
 Post subject:
PostPosted: 2004-08-01 08:35:48 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
moveitem use real UO coordinates, not screen ones
also third parameter is container serial


Top
   
 Post subject:
PostPosted: 2004-08-01 16:17:20 
Offline

Joined: 2004-07-02 22:58:37
Posts: 33
but, if i need to put a GP in the upper corner of my backpack, what can i do?


Top
   
 Post subject:
PostPosted: 2004-08-02 22:45:54 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
,moveitem itemserial count boxserial inboxX inboxY inboxZ

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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited