Hi -
I'm trying have the loot dropped by defeated mobs displayed as an item box that the player can interact with to pick up the items. In my BattleEndVictory schematic I have the "Collect Battle Gains" action which currently automatically picks up loot at shows a notification of that + experience in a dialogue. I notice there is a "Use Item Box" option here which sound like it's what I want, but this requires that I enter an "Item Box ID." I don't know what this means. Would that be a reference to UI Box, or an Item Collecter in scene? Not sure.
Thanks!
-Mike
The battle gains being stored in a defined item box allows you to e.g. store all loot into an item box and be able to later pick up what you need (can also be done in the battle end schematic).
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Thanks!
You can even create unique item boxes for each combatant via their death schematic, e.g. something like this:
- Change Variables node > set a local string variable to a GUID, this generates a random GUID
- Collect Battle Gains node > use the GUID variable you created as the box ID
- Spawn Prefab node > spawn your item box
- Change Item Box ID node > change the spawned prefab's box ID to the GUID variable
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
In short, you can e.g. turn the dead combatant's prefab into an item box and add the loot to it (if you don't destroy their prefabs). Otherwise just spawn a prefab and use that.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Thanks,
-Mike