# Set Animation Time
Grammar — Set the identifier scaled|Absolute/Scaled animation time for target to time
Flags —Action
Skips ahead in an animation, chosen by the Identifier parameter, to a time chosen by the Time value. If the Scaled parameter is set to Absolute, the time will be set according to the actual length of the animation for the model. If the Scaled parameter is set to Scaled, the time will be set relevent to the animation length determined by the actor controlling the animation.
# Arguments
actor
— Targetstring
— Identifierfixed
— Timebool
<preset::AnimationScaleOption> — Scaled
Returns — void
void libNtve_gf_SetAnimationTime(
actor lp_target,
string lp_identifier,
fixed lp_time,
bool lp_scaled,
);
# 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 —