Skip to content

getPedAnimationProgress #1560

@christophercampbell1

Description

@christophercampbell1

Is your feature request related to a problem? Please describe.
There is setPedAnimationProgress(pedElement, animationName, progressValue) function, but there is no counterpart function.

Describe the solution you'd like
getPedAnimationProgress(pedElement, animationName)

Describe alternatives you've considered
Manually control the animations client side in a render event with setPedAnimationProgress
Store the calculated progress in tables and use them.

Additional context
This is good for make animation dependent code without timers, like gymnastics machines in single-player.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions