#Help Me with inventory
17 messages · Page 1 of 1 (latest)
it might be better to do the clicking handling in a handler object instead of the dropped items checking if they were clicked
var _Item = collision_point(mouse_x,mouse_y,obj_item)
if _Item != noone
{
//do the check for it's count here
}
do you have any way to return how many of an item you have?
don't use other within that context
_Item. is the item you are interacting with
like if the item has a quantity variable you can check it with _Item.quantity
Can you show me the correct codes
I am not sure what image_index = 0 is supposed to be checking for