It may be a very simple thing but I'm still quite new:
There's an egg box and my character has the ability to pick a maximum of 3 eggs.
So I'd like to change the item's main graphic in the inventory to show 1, 2 or 3 eggs (I already made the according sprites, I just don't know how to modify it through an action list)
Thank you!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
To change the graphic of a fixed item, you'd need to rely on a custom script to access the exact data you'd need.
You can get an API reference to any Manager field by right-clicking the field's label - in the case of an item's Main Graphic property, this'd be:
Where "ID" is the ID number of the item.
You can avoid this, however, by creating the item as three separate entries in the Inventory Manager - each with its own graphic - and then using the Inventory: Add or remove Action's Replace method to swap out one for the other.
Oh true! I think making 3 objects would work well, since I will not have tons of items in the whole game.
Thank you