Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/Abilities/Tasks/AbilityTask_PlayMontageAndWait.h |
Include |
#include "Abilities/Tasks/AbilityTask_PlayMontageAndWait.h" |
UCLASS()
class UAbilityTask_PlayMontageAndWait : public UAbilityTask
Ability task to simply play a montage. Many games will want to make a modified version of this task that looks for game-specific events
Name | Description | ||
---|---|---|---|
|
float |
AnimRootMotionTranslationScale |
|
|
BlendingOutDelegate |
||
|
BlueprintInternalUseOnly |
||
|
bStopWhenAbilityEnds |
||
|
DefaultToSelf |
||
|
HidePin |
Start playing an animation montage on the avatar actor and wait for it to finish If StopWhenAbilityEnds is true, this montage will be aborted if the ability ends normally. |
|
|
InterruptedHandle |
||
|
MontageEndedDelegate |
||
|
UAnimMontage &#... |
MontageToPlay |
|
|
OnBlendOut |
||
|
OnCancelled |
||
|
OnCompleted |
||
|
OnInterrupted |
||
|
float |
Rate |
|
|
StartSection |
||
|
float |
StartTimeSeconds |
Name | Description | |
---|---|---|
|
UAbilityTask_PlayMontageAndWait ( |
Name | Description | ||
---|---|---|---|
|
OnMontageBlendingOut ( |
||
|
OnMontageEnded ( |
||
|
OnMontageInterrupted() |
||
|
StopPlayingMontage() |
Checks if the ability is playing a montage and stops that montage, returns true if a montage was stopped, false if not. |
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 |
|
|
ExternalCancel() |
Called when the ability is asked to cancel from an outside node. |
|
|
GetDebugString() |
Return debug string describing task |
|
|
OnDestroy ( |
End and CleanUp the task - may be called by the task itself or by the task owner if the owner is ending. |