Create a basic usable action:

UsableAction.create({...definition});

If your action has item/doodad/creature/npc requirements:

UsableAction.requiring({...requirements})
.create({...definition});

To learn about action definitions, see IUsableActionDefinitionBase

Type Parameters

Hierarchy

Constructors

Properties

definition: DEFINITION
event: IEventEmitter<default<REQUIREMENTS, DEFINITION>, IUsableActionEvents> = ...
requirements: REQUIREMENTS

Methods

  • Returns boolean

  • Returns boolean

Generated using TypeDoc