Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Tasks/AbilityTask_WaitAttributeChangeRatioThreshold.h |
Include |
#include "Abilities/Tasks/AbilityTask_WaitAttributeChangeRatioThreshold.h" |
UCLASS()
class UAbilityTask_WaitAttributeChangeRatioThreshold : public UAbilityTask
Waits for the ratio between two attributes to match a threshold
Name | Description | ||
---|---|---|---|
|
AttributeDenominator |
||
|
AttributeNumerator |
||
|
bMatchedComparisonLastAttributeChange |
||
|
bTriggerOnce |
||
|
CheckAttributeTimer |
Timer used when either numerator or denominator attribute is changed to delay checking of ratio to avoid false positives (MaxHealth changed before Health updates accordingly) |
|
|
TEnumAsByte< EW... |
ComparisonType |
|
|
float |
ComparisonValue |
|
|
ExternalOwner |
||
|
float |
LastAttributeDenominatorValue |
|
|
float |
LastAttributeNumeratorValue |
|
|
OnChange |
||
|
OnDenominatorAttributeChangeDelegateHandle |
||
|
OnNumeratorAttributeChangeDelegateHandle |
Name | Description | |
---|---|---|
|
UAbilityTask_WaitAttributeChangeRatioThreshold ( |
Name | Description | ||
---|---|---|---|
|
DoesValuePassComparison ( |
||
|
UAbilitySyst... |
GetFocusedASC() |
|
|
OnAttributeChange() |
||
|
OnDenominatorAttributeChange ( |
||
|
OnNumeratorAttributeChange ( |
||
|
OnRatioChange() |
||
|
UAbilityTask... |
WaitForAttributeChangeRatioThreshold ( |
Wait on attribute ratio change meeting a comparison threshold. |
Name | Description | ||
---|---|---|---|
|
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 |
|
|
OnDestroy ( |
End and CleanUp the task - may be called by the task itself or by the task owner if the owner is ending. |