Add animation related functions#3734
Add animation related functions#3734Dutchman101 merged 3 commits intomultitheftauto:masterfrom TracerDS:180924_Add_animation_functions
Conversation
|
Nice u work fast! What about these functions:
|
I will add
I dont see a point in |
|
Ah yes forgive me I forgot about
|
Well, let me clear up some things, getPedAnimation would function closer to setPedAnimationSpeed(ped, 1) actually. The true purpose is not to get the animation set by setPedAnimation but to get any animation that is currently being done by the ped, specifically natural animations that are used during gameplay. As for getPedAnimationLength, the intention was to have some millisecond reference to go along with setAnimationProgress, as this is relative to the animation length, would be nice if this could be pulled from the "(block, anim)" instead of the "(ped, anim)" |
|
But I suppose
|
|
Ready |
|
This has had multiple code review passes, and all feedback is addressed. Merging |
Resolves #3731