SetEntityAnimationLength()

Syntaxe

SetEntityAnimationLength(#Entité, Animation$, Duree)
Description
Change la longueur de l'animation d'une entité.

Arguments

#Entité L'entité à utiliser.
Animation$ Le nom de l'animation.

Les animations sont stockées dans l'objet mesh de manière sensible à la casse (ex: "Marche" sera une animation différente de "marche").

Si l'animation n'est pas trouvée ou le mesh n'a pas de squelette alors cette fonction n'aura aucun effet.
Duree La nouvelle durée de l'animation de l'entité (en millisecondes).

Valeur de retour

Aucune.

Voir aussi

StartEntityAnimation(), GetEntityAnimationLength()

OS Supportés

Tous

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