View Full Version : Inventory Slot questions
schnubbel15
12-04-2012, 11:11 PM
yo,
atm i use the FindObjEx function combinied with MIX1,MIY1, MIX2, MIY2 thing.
i wonder if theres a function like the banking function where u can judt say which slot to interact with?
DannyRS
12-04-2012, 11:14 PM
Probably somewhere, but if its a single slot, you can get the co-ords yourself in like 5 seconds lol :P, if you want to find a single item in your inv, look at using DTMs, theres a bunch of tutorials in the section, then just input the MIX1 etc etc
schnubbel15
12-04-2012, 11:14 PM
ye i know but i need every slot :P
EDIT: i need a function which goes through the whole inventory, when i use DTM'S it will also hovers over every single slot :(
DannyRS
12-04-2012, 11:18 PM
I cant remember the Y value, but inventory slots in RS are exactly 42 pixels apart horizontally so you can write a for loop to do something for every slot pretty easily that way
Dynamite
12-04-2012, 11:19 PM
What are you trying to achieve?
Rezozo
12-04-2012, 11:26 PM
What are you trying to do. If you need to deposit certain Items then:
if ExistsItem(i) then
DropItem(i);
If you just want to click it, then :
MouseItem(i, true);
This is all assuming you assign a number where 'i' is.
What exactly are you trying to do?
~Rez
schnubbel15
12-04-2012, 11:26 PM
EDIT: anyway Rezozo, that MouseItem was what i was looking for thanks :)
EtherFreak
12-05-2012, 01:49 AM
Invmouse(slot,action) is another. Look in the inventory sells include.
Rezozo
12-05-2012, 02:42 AM
EDIT: anyway Rezozo, that MouseItem was what i was looking for thanks :)
Glad you got it.
~Rez
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.