Using Items
Consume or activate an item:
Blueprint:
[InventoryComponent] → UseItemAtIndex
Index: 5
Return: Success
C++:
bool bUsed = InventoryComponent->UseItemAtIndex(5);This will:
Trigger the item's Consumable Ability (if consumable)
Reduce quantity if
bAutoConsumeOnUseis trueRemove from inventory if quantity reaches 0
Apply any item effects