Game Item Object List Contains
v4.0
This will look for the valueGameItemObjectList
on the Blackboard Note, and then compare against the contents of that list.
The GameModuleActor
has two GameItemObjectList
variables -- one for inventoryItems
, and one for equippedItems
. You can combine these and pass them into the Blackboard with a new custom subject, if you'd like, by adding this method and new code to your class which inherits from GameModulesActor
or GameModulesInventoryActor
:
Value Contents
If IsEmpty
or IsNotEmpty
is selected, no other options will show, as these are either true or false.
Otherwise, the comparison is based on the number of items in the list, specified by quantity.
Grouping
When at least two items are added, this option will appear. It determines how to group the items that are in the list.
Sum
This means that the total number of items included will be totaled, and compared.
Each
This means that each item must individually meet the comparison requirements.
Any
This means that at least one of the items must meet the comparison requirements.
If no Item Objects are added to the list, then the Count
of all items in the list will be used to compare against.
Item or Type
You can choose to search the list for specific items (Item Objects, in this case), or ObjectTypes.
Quantity
This is the quantity we are comparing against.
Add Condition / Type
You can drop a Item Object into the object field, or click the circle to select one. It will be added to the list. Remove from the list by clicking the red X button.
For ObjectTypes, select from the drop down menu.
Last updated