T tesslerc New Member Joined Jun 27, 2012 Messages 803 Reaction score 9 Nov 27, 2012 #1 If i want to select the item (object) located in the top left area of my inventory, how can this be done?
If i want to select the item (object) located in the top left area of my inventory, how can this be done?
T tesslerc New Member Joined Jun 27, 2012 Messages 803 Reaction score 9 Nov 27, 2012 #2 and ofc any other exactly slot for the matter.
rrrix New Member Joined Jul 11, 2010 Messages 3,449 Reaction score 61 Nov 27, 2012 #3 I don't mean to be ignoring you... so many updates so little time It's here: Zeta.Internals.Actors.ACDItem.InventoryRow Zeta.Internals.Actors.ACDItem.InventoryColumn These will be 0 based integers from top -> bottom and left -> right And also see: (for slot type) Zeta.Internals.Actors.ACDItem.InventorySlot You can use a particular slot like this: Code: var myItem = ZetaDia.Me.Inventory.Backpack.Where(i => i.InventoryColumn == 0 && i.InventoryColumn == 0).FirstOrDefault(); ZetaDia.Me.Inventory.EquipItem(myItem.DynamicId, InventorySlot.PlayerLeftHand); You can also edit protected slots by setting this, but be very careful with this! Zeta.CommonBot.Settings.CharacterSettings.ProtectedBagSlots Last edited: Nov 27, 2012
I don't mean to be ignoring you... so many updates so little time It's here: Zeta.Internals.Actors.ACDItem.InventoryRow Zeta.Internals.Actors.ACDItem.InventoryColumn These will be 0 based integers from top -> bottom and left -> right And also see: (for slot type) Zeta.Internals.Actors.ACDItem.InventorySlot You can use a particular slot like this: Code: var myItem = ZetaDia.Me.Inventory.Backpack.Where(i => i.InventoryColumn == 0 && i.InventoryColumn == 0).FirstOrDefault(); ZetaDia.Me.Inventory.EquipItem(myItem.DynamicId, InventorySlot.PlayerLeftHand); You can also edit protected slots by setting this, but be very careful with this! Zeta.CommonBot.Settings.CharacterSettings.ProtectedBagSlots