In this episode of unreal engine survival tutorial series, I am going to implement a way to consume the items in the inventory. When we select an item in the inventory, in the panel area which shows the details about that selected item, there will be 2 buttons as consume and drop. When we press the consume button, character will consume that item. If it is a food item, it will fill the hunger/food level and health depending on the properties of that item, if it is a drink, it will affect the hydration level. when we fully consume that item, the item will disappear from the slot in the inventory.
password : codelikeme_consume
Thilina Premasiri
2020-10-03 01:09:30 +0000 UTC