AGR Pro Docs

AGR_EquipmentManager

AGR_EquipmentManager

Properties

EquipmentList

Equipment List

Array of Equipment Structures


References

References

Map of Names to Actor Object References


Events

Functions

EquipItemInSlot

Equips an item in the specific slot. Before executing equip action, the following conditions will be checked: 1) Slot exists 2) New item is an item 3) Tag is acceptable in this slot

Inputs

Slot

Name

Item Actor

Actor Object Reference

Outputs

Previous Item

Actor Object Reference

New Item

Actor Object Reference

Success

Boolean

Equips an item in the specific slot. Before executing equip action, the following conditions will be checked: 1) Slot exists 2) New item is an item 3) Tag is acceptable in this slot

GetAllItems

Get All Items

Outputs

Items

Array of Actor Object References

Has Items

Boolean

Get All Items

GetShortcutReference

Get Shortcut Reference

Inputs

Key

Name

Outputs

Actor

Actor Object Reference

Found

Boolean

Get Shortcut Reference

GetItemInSlot

Get Item in Slot

Inputs

Slot

Name

Outputs

Item

Actor Object Reference

Success

Boolean

Get Item in Slot

SaveShortcutReference

Save Shortcut Reference

Inputs

Key

Name

Item

Actor Object Reference


SetupDefineSlots

Names need to be unique

Inputs

Equipment

Array of Equipment Structures


UnequipByReference

Unequip by Reference

Inputs

Item Actor

Actor Object Reference

Outputs

Note

Text

Success

Boolean

Unequip by Reference

UnequipItemFromSlot

Unequip Item from Slot

Inputs

Slot

Name

Outputs

Item Unequipped

Actor Object Reference

Success

Boolean

Unequip Item from Slot

API documentation generated thanks to Kantan Doc Gen