SetEntityAnimationLength()

Syntax

SetEntityAnimationLength(#Entity, Animation$, Length)
Description
Change the #Entity animation length.

Parameters

#Entity The entity to use.
Animation$ The animation name. The animations are stored in the mesh object in a case-sensitive manner (ie: "Walk" will be a different animation than "walk"). If the animation isn't found or the mesh doesn't have a skeleton, this function will have no effect.
Length The new entity animation length (in milliseconds).

See Also

StartEntityAnimation(), GetEntityAnimationLength()

Supported OS

All

<- GetEntityAnimationWeight() - EntityAnimation Index - SetEntityAnimationTime() ->