FPTask_PlayAnimation.h
File Info
FileName: FPTask_PlayAnimation.h
- Struct List: [ ]
- Class List:
[
UFPTask_PlayAnimation
]
UFPTask_PlayAnimation
Parent Classes:
[ UFlowPilotTask
]
Task that plays an animation
- Will play the animation to one or multiple Pawns found via FlowActorReference
- Option to wait for animations to complete before succeeding
Properties
// Pawns to play animations onUPROPERTY(EditAnywhere, Category="FlowPilot")FFlowActorReference ActorsToPlayAnimationOn;
// Animation Asset to playUPROPERTY(EditAnywhere, Category="FlowPilot")TSoftObjectPtr<UAnimationAsset> AnimationAsset;
// if true, will loop animationsUPROPERTY(EditAnywhere, Category="FlowPilot")uint8 bLooping : 1;
// if true, will wait for animation to finish before succeeding taskUPROPERTY(EditAnywhere, Category="FlowPilot")uint8 bWaitForAnimationEnd : 1;