# 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
- Last Animation Query —
generichandle
<animlengthquery> — AnimLengthQueryLastCreated - Query Animation Length By Identifier —
void
— AnimLengthQueryByName - Query Animation Length By Props —
void
— AnimLengthQueryByProps - Wait for Animation Length Queries —
void
— AnimLengthQueryWait - Wait for Animation —
void
— AnimWait - Animation Length —
fixed
— AnimLengthSync - Animation Time Remaining —
fixed
— AnimLengthRemainingSync - Set Animation Time —
void
— libNtve_gf_SetAnimationTime - Set Animation Time Scale —
void
— libNtve_gf_SetAnimationTimeScale - Set Animation Completion —
void
— libNtve_gf_SetAnimationCompletion - Set Animation Duration —
void
— libNtve_gf_SetAnimationDuration - Load Model Animation —
void
— ModelAnimationLoad - Load Overriding Model Animation —
void
— ModelAnimationLoadOverriding - Unload Model Animation —
void
— ModelAnimationUnload - Load Animation for Unit Type —
void
— UnitTypeAnimationLoad - Load Overriding Animation for Unit Type —
void
— UnitTypeAnimationLoadOverriding - Unload Animation for Unit Type —
void
— UnitTypeAnimationUnload
# Examples
— None found —