NifBlockInterpolateRotation

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Changes rotation of specified nif block from Start values to End Values.

Syntax

[help]
(success:bool) NifBlockInterpolateRotation block name:string Start Value X:float Start Value Y:float Start Value Z:float End Value X:float End Value Y:float End Value Z:float timer:float mode:int FirstPersonModel(Player only):int CalculateStartValue:int

Example

Player.NifBlockInterpolateRotation "Weapon" 0 0 0 0 0 360 2 2 0 0

Will change rotation from (X:0,Y:0,Z:0) to (X:0,Y:0,Z:360) and then back of "Weapon" on third person PC model, Infinite amount of times one iteration taking 2 seconds.

Notes

See Also