Introduction
This plugin allows you to play an action sequence in response to an equip state change
#
FieldsName | Description |
---|---|
On Event | Equip event to respond to |
Action Sequence Id | Id of the action sequence to run |
Ignore Auto Equip | Don't run this sequence if the item is being auto equipped |
Ignore Swap | Don't run this sequence if the item is being swapped for a new one |
On Action State Changed | Event raised whenever the action state changes |
#
PropertiesName | Description |
---|---|
title | Title of the plugin |
description | Description of the plugin |
icon | Icon associated with the plugin |
titlebarText | Text to display in the titlebar for the plugin |
actionKeys | Action keys the plugin responds to |
host | Inventory hosting the plugin |
isAction | Gets if the plugin is an action |
item | Gets the item associated with the plugin |
#
MethodsName | Description |
---|---|
RunCommand | Run a command |
AfterAdd | Method run after item is added to inventory |
AllowAction | Check if an action is allowed |
BeforeAdd | Method run before item is added to inventory |
DataSave | Prepare data for serialization and saving |
HasActionKey | Check if plugin has action key |
Initialize | Initialize the plugin |
IsActionReady | Get if a specific action is ready to perform |
OnItemDropped | Method called when another item is dropped onto this one (return true if event handled) |
OnAfterAttack | Method to call whenever the player deals damage to another object |
PerformAction | Perform the default action |
Shutdown | Shuts down the object |