# Non-intuitive and conflicting names in GAS Ability Tasks

**URL:** <https://forums.unrealengine.com/t/non-intuitive-and-conflicting-names-in-gas-ability-tasks/602789>\
**Category:** Feedback & Requests\
**Tags:** source-build, source-code, source, unreal-engine, UE5-0, bug-report\
**Created:** [July 12, 2022, 2:45am UTC](https://forums.unrealengine.com/t/non-intuitive-and-conflicting-names-in-gas-ability-tasks/602789 "2022-07-12T02:45:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucoiso](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lucoiso/32/820744_2.png) [@lucoiso](https://forums.unrealengine.com/u/lucoiso)\
**Post date:** [July 12, 2022, 2:45am UTC](https://forums.unrealengine.com/t/non-intuitive-and-conflicting-names-in-gas-ability-tasks/602789/1 "2022-07-12T02:45:31Z")

</div>

**Pull Request:** [#9381](https://github.com/EpicGames/UnrealEngine/pull/9381)

## There’s 3 Ability Tasks:

- **AbilityTask\_WaitConfirm** : This task will wait for the ability to be confirmed by the server.
- **AbilityTask\_WaitCancel** : This task waits for the Cancel Input.
- **AbilityTask\_WaitConfirmCancel** : This task waits for the targeting confirm and/or cancel.

## The problem:

The **AbilityTask\_WaitConfirm** and **AbilityTask\_WaitConfirmCancel** tasks were in conflict because their names are too similar and **not intuitive** , causing confusion because there is already an **AbilityTask\_WaitCancel** which is managed by Ability Cancel Input, and its name is similar to **AbilityTask\_WaitConfirm** , but **AbilityTask\_WaitConfirm** is managed by Server Confirmation and not by Ability Confirm Input. And as I said, the **AbilityTask\_WaitConfirmCancel** is related to Targeting and not the Confirm/Cancel Input or the Server Confirmation.

There was also the intention to resolve this conflict, which was confirmed by this comment that exists in the “AbilityTask\_WaitConfirmCancel.h”:

```auto
// Fixme: this name is conflicting with AbilityTask_WaitConfirm
// UAbilityTask_WaitConfirmCancel = Wait for Targeting confirm/cancel
// UAbilityTask_WaitConfirm = Wait for server to confirm ability activation

```

* * *

Figured this after lost some time trying to discover why the Confirm Input was not calling the OnConfirm from **AbilityTask\_WaitConfirm** xD

* * *

## The solution

- Rename the files, classes and their properties and add CoreRedirects to avoid code breaking.

I submitted a Pull Request with some changes and details here: [Fix non-intuitive and conflicting names: GAS Ability Tasks (github.com)](https://github.com/EpicGames/UnrealEngine/pull/9381)
