Train Simulator NEXT
In This Topic
    StopAnimation function
    In This Topic

    This function stops an animation and will set the position to zero.

    Syntax

    Copy Code
    void StopAnimation( int AnimationIndex );

    Parameters

    AnimationIndex

    Type: int

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

    See Also