NifBlockInterpolateSetTrait

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Sets trait to specified interpolated block.

Syntax

[help]
(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.

See Also