SetGlobalAnimTime

From GECK
(Redirected from SetAnimsTimePassed)
Jump to: navigation, search


A function added by the kNVSE Plugin.

Description

Sets the time passed value on the actor, which affects all animations they are currently playing. This function provides a way to control and manipulate the playback of animations. You can use it to pause, reverse, or alter the speed of animations, allowing for dynamic animation control to alter the playback of animations.

Syntax

[help]
reference.SetGlobalAnimTime timePassed:float bFirstPerson:0/1

Example

player.SetGlobalAnimTime ((player.GetGlobalAnimTime) - GetSecondsPassed)

Freeze frames the player in a fixed position when called from SetGameMainLoopCallback with GameMode as modeFlag.

See Also