GetBlockTextureSet

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns an array_var containing the file paths (string_vars) of the textures in the texture set of the specified NIF block, in the calling reference's loaded 3D model.

  • If the specified block is not found, or does not have a texture set, the function returns a null array. Otherwise, the function returns an array of 6 elements, as the number of slots in a texture set.

Syntax

[help]
(textures:array_var) reference.GetBlockTextureSet blockName:string

Example

let aTextures := player.GetBlockTextureSet "9mmSMG:0"