IsNifBlockInterpolated

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Returns if interpolation is active on an object.

Syntax

[help]
(success:bool) IsNifBlockInterpolated blockName:string type:int FirstPersonModel_PlayerOnly:int

Example

Player.IsNifBlockInterpolated

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

Notes

  • if type "-1" specified - it will be ignored when searching for the block.

See Also