Items API

Note: Ensure that AI who use this API have a on Items Component it. Most of these are used through Animation Events or internally (which are called through the Emerald Components directly and not through the static EmeraldAPI script). The information here is based off an AI's Items Component.

Enable Weapon

Enables an item from your AI's Item list using the Item ID.

EmeraldAPI.Items.EnableWeapon(EmeraldSystem EmeraldComponent, string WeaponTypeToEnable)

Disable Weapon

Disables an item from your AI's Item list using the Item ID.

EmeraldAPI.Items.DisableWeapon(EmeraldSystem EmeraldComponent, string WeaponTypeToDisable)

Disable All Items

Disables all items from your AI's Item list.

EmeraldAPI.Items.DisableAllItems(EmeraldSystem EmeraldComponent, string WeaponTypeToDisable)

Reset Settings

Reset any equipped items to their defaults.

EmeraldAPI.Items.ResetSettings(EmeraldSystem EmeraldComponent, string WeaponTypeToDisable)

Last updated