Inventory Check Object
From Runic Games Wiki
Contents |
Inventory Check
Description
This Level Object will check the Player's inventory for the specified "Unit". It can fire off Output events based on whether the Player has the "Unit" or not.
Location
Right-click on an empty space in the Layout Scene Manager and choose Logic > Inventory Check from the list.
Properties
Name | Type | Description | Read Only |
---|---|---|---|
ITEM | |||
COUNT | The number of the specified "Unit" the Player must have in their inventory. | ||
INPUT ONLY | If True the Inventory Check object will only check when it receives a "Has Item(s)?" Input event. | ||
UNIT | The Item the Inventory Check is looking for. |
Input Events
- Has Item(s)?
- Checks the Player's inventory for the specified "Unit".
- Remove Item(s)
- Removes the specified "Unit" from the Player's inventory.
- This will ignore the "Count" and remove all of the specified "Unit" from the Player's inventory.
Output Events
- Has Items
- This event will fire when the Inventory Check object receives a "Has Item(s)?" Input event and it returns True.
- Does not have Items
- This event will fire when the Inventory Check object receives a "Has Item(s)?" Input event and it returns False.