Item Object / Attribute Actions

v1.0

circle-info

These actions will cache the component class and field that is GameModulesActor at edit time, and once at runtime if not already cached, to reduce the overhead.

Adding & Removing ItemObjects on GameModulesActor

AddItemObjectToActor and RemoveItemObjectFromActor both target GameModulesActor classes. They can target either the Equipment or Inventory. Each allows for a List<ItemObject> to action upon.

They both have the option for quantity of items, and the RemoveItemObjectFromActor action has a Removal Mode option including "Remove First", "Remove All", and "Remove Quantity".

Adding & Removing ItemAttributes on GameModulesActor

AddItemAttributeToActor and RemoveItemAttributeFromActor both target GameModulesActor classes. They accept a single ItemAttribute, along with a List<ItemObject> to target. There is also a popup for selecting the Equipment or Inventory on the GameModulesActor.

When multiple ItemObject are populating the list, the action will affect all, but only if they are in the GameItemObjectList targeted. The "Add" action does have the option to add the ItemObject if not found.

Last updated