NifBlockInterpolateRotation
From GECK
A function added by the SUP NVSE Plugin.
Contents
Description
Changes rotation of specified nif block from Start values to End Values.
Syntax
(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
- For one block it is possible to invoke many types of interpolations at the same time.
- Modes are listed in NifBlock Interpolation Functions (SUP) category.