# Set Animation Duration
Grammar — Set the identifier animation duration for target to duration seconds
Flags —Action
Set the amount of seconds to play a specified animation.
# Arguments
actor
— Targetstring
— Identifierfixed
— Duration
Returns — void
void libNtve_gf_SetAnimationDuration(
actor lp_target,
string lp_identifier,
fixed lp_duration,
);
# Related
Category: Animation / Advanced
- [F] —
generichandle
[ animlengthquery ] — Last Animation Query — ( AnimLengthQueryLastCreated ) - [F] —
void
— Query Animation Length By Identifier — ( AnimLengthQueryByName ) - [F] —
void
— Query Animation Length By Props — ( AnimLengthQueryByProps ) - [F] —
void
— Wait for Animation Length Queries — ( AnimLengthQueryWait ) - [F] —
void
— Wait for Animation — ( AnimWait ) - [F] —
fixed
— Animation Length — ( AnimLengthSync ) - [F] —
fixed
— Animation Time Remaining — ( AnimLengthRemainingSync ) - [F] —
void
— Set Animation Time — ( libNtve_gf_SetAnimationTime ) - [F] —
void
— Set Animation Time Scale — ( libNtve_gf_SetAnimationTimeScale ) - [F] —
void
— Set Animation Completion — ( libNtve_gf_SetAnimationCompletion ) - [F] —
void
— Set Animation Duration — ( libNtve_gf_SetAnimationDuration ) - [F] —
void
— Load Model Animation — ( ModelAnimationLoad ) - [F] —
void
— Load Overriding Model Animation — ( ModelAnimationLoadOverriding ) - [F] —
void
— Unload Model Animation — ( ModelAnimationUnload ) - [F] —
void
— Load Animation for Unit Type — ( UnitTypeAnimationLoad ) - [F] —
void
— Load Overriding Animation for Unit Type — ( UnitTypeAnimationLoadOverriding ) - [F] —
void
— Unload Animation for Unit Type — ( UnitTypeAnimationUnload )
# Examples
— None found —