Completed the play-seq animation command for characters

This commit is contained in:
2025-11-18 00:40:43 -05:00
parent 29612d226d
commit 383ed25453
8 changed files with 55 additions and 10 deletions

View File

@@ -199,6 +199,14 @@ public:
UObject *WorldContextObject, UAnimSequenceBase* Sequence, double FadeInTime = 0.2, double FadeOutTime = 0.2,
int64 AnimationStepID=0, bool ContinueWhenPaused=false);
// Calculate time left for a given animation.
//
// If there are multiple animations playing with the given ID,
// returns the MAX time left.
//
UFUNCTION(BlueprintCallable, Category = "Luprex|Scripted Animations", meta=(WorldContext = "WorldContextObject"))
double CalculateTimeLeft(UObject *WorldContextObject, int64 AnimationID=0);
// Fade all animations whose IDs are not in the 'Keep' list.
//
// Sometimes, predictive reexecution causes an animation step to