Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/Abilities > API/Plugins/GameplayAbilities/Abilities/Tasks
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UGameplayTask
- UAbilityTask
- UAbilityTask_WaitAttributeChangeThreshold
References
| Module | GameplayAbilities |
| Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Tasks/AbilityTask_WaitAttributeChangeThreshold.h |
| Include | #include "Abilities/Tasks/AbilityTask_WaitAttributeChangeThreshold.h" |
Syntax
UCLASS&40;&41;
class UAbilityTask_WaitAttributeChangeThreshold : public UAbilityTask
Remarks
Waits for an attribute to match a threshold
Variables
| Type | Name | Description | |
|---|---|---|---|
| FGameplayAttribute | Attribute | ||
| bool | bMatchedComparisonLastAttributeChange | ||
| bool | bTriggerOnce | ||
| TEnumAsByte< EWaitAttributeChangeComparison::Type > | ComparisonType | ||
| float | ComparisonValue | ||
| TObjectPtr< UAbilitySystemComponent > | ExternalOwner | ||
| FDelegateHandle | OnAttributeChangeDelegateHandle | ||
| FWaitAttributeChangeThresholdDelegate | OnChange |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAbilityTask_WaitAttributeChangeThreshold
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | DoesValuePassComparison
(
float Value |
||
| UAbilitySystemComponent * | |||
| void | OnAttributeChange
(
const FOnAttributeChangeData& CallbackData |
||
| UAbilityTask_WaitAttributeChangeThreshold * | WaitForAttributeChangeThreshold
(
UGameplayAbility* OwningAbility, |
Wait on attribute change meeting a comparison threshold. |
Overridden from UGameplayTask
| Type | Name | Description | |
|---|---|---|---|
| void | Activate () |
Called to trigger the actual task once the delegates have been set up Note that the default implementation does nothing and you don't have to call it | |
| void | OnDestroy
(
bool bInOwnerFinished |
End and CleanUp the task - may be called by the task itself or by the task owner if the owner is ending. |