NifBlockInterpolateTranslation

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

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

Syntax

[help]
(success:bool) NifBlockInterpolateTranslation 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 iGetWorld:int FirstPersonModel(Player only):int CalculateStartValue:int

Example

Player.NifBlockInterpolateTranslation "Weapon" 0 0 0 0 0 10 2 2 0 0 0

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

Player.NifBlockInterpolateTranslation "Weapon" 0 0 0 0 0 10 2 2 0 1 1

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

Notes

See Also