NifBlockInterpolateSetTrait
From GECK
A function added by the SUP NVSE Plugin.
Contents
Description
Sets trait to specified interpolated block.
Syntax
(success:bool) NifBlockInterpolateSetTrait trait:int value:float block name:string type:int FirstPersonModel(Player only):int
Example
Player.NifBlockInterpolateSetTrait 0 0
Returns if any interpolation is active on player.
Player.IsNifBlockInterpolated "Bip01 Head"
Returns if any interpolation is active on player's "Bip01 Head" nif block(third person by default).
Player.IsNifBlockInterpolated "Bip01 Head" 1
Returns if rotation interpolation is active on player's "Bip01 Head" nif block(third person by default).
Player.IsNifBlockInterpolated "Bip01 Head" -1 1
Returns if any interpolation is active on player's "Bip01 Head" first person nif block
Traits | Description |
---|---|
0 | Sets start value to nif block when interpolation ends. |
Notes
- This function should be called after interpolation for particular block started.