Skip to content

Target Confirm and Cancel

It's common to have Gameplay Abilities that will wait for players to select a target or cancel the waiting. Common examples are building or projectiles that will have a first stage, in which players can decide where to place an item or where to throw an projectile, respectivelly.

The Gameplay Ability System has a concept of target confirmation or cancellation for these cases, and proper functions to be invoked so the workflow can continue. To cover this requirement, there are two Input Handlers meant to be used, and their names should be self-explanatory:

  • Ability Target Confirm: Sends a Confirmation Input to the Ability Component.
  • Ability Target Cancel: Sends a Cancellation Input to the Ability Component.