Ultimate Inventory System
Use this integration when an agent must inspect or change a released Ultimate Inventory System Version 1 Inventory, Currency amount, panel, interaction, or save from a behavior tree.
Install the integration
- Download the current Ultimate Inventory System integration from Opsive Downloads.
- Import
BehaviorDesignerUltimateInventorySystem.unitypackage. - Confirm Has Item With Definition appears in the Task List.
What the integration adds
- Items: Add Item, Remove Item, Has Item With Definition, Has Item With Category, Compare Item Amount, Drop Item From Inventory, Exchange Item Between Inventories.
- Currency: Add Currency, Remove Currency, Has Currency, Compare Currency.
- Actions and UI: Use Item From Inventory, Use Item Object, Interact, Open Close Panel.
- Persistence: Save, Load, Delete Save.
Build a first workflow
- Put the behavior tree on the Inventory GameObject for the first test.
- Create a Selector whose first Sequence checks Has Item With Definition for one Health Potion.
- Add Use Item From Inventory with the potion Item Action Set and action index.
- Use the Selector fallback when the item is absent or the action fails.
- Inspect the Inventory after the task so the real amount change, not only node success, is verified.