Train Simulator NEXT
In This Topic
    StartAnimation function
    In This Topic

    This function starts an animation from position 0.

    Syntax

    Copy Code
    void StartAnimation( int AnimationIndex );

    Parameters

    AnimationIndex

    Type: int

    The animation index. Use GetAnimationCount or GetAnimationIndex to query a valid index.

    See Also