Assigning Combat Actions
Last updated
Last updated
Combat Actions are actions that an AI can make while in combat, given the conditions for the actions are met. There are 5 included Combat Actions, these include; Blocking, Dodging, Strafing, Switching Targets, and Random Combat Movement.
Note: Combat Actions are created through the EmeraldAction class and allows users to create their own custom Combat Actions, if desired.
Note: Combat Actions are covered further on the Combat Actions section of the Emerald AI Wiki. This section briefly covers Combat Actions, but is more about applying them to an AI.
By default, there are no Combat Actions assigned to an AI. Users can add them by opening the Combat Actions foldout, pressing the + button, enabling the Combat Action element, and assigning a Combat Action from one of the ones included.
You can open up the Combat Action to further custom the settings. This includes lengths, conditions, and more, depending on the Combat Action.