Kit::Texture

From GECK
Jump to: navigation, search


A function added by the pp NVSE Plugin.

Description

This allows you to assign or remove a texture sets. The first argument can take either a form, or an index. if passed a texture set form, it will search for that texture, and replace it. If passed a -1 for the index, all texture sets are removed from the parent object.

Syntax

[help]
Texture: index:int replacement:ref 

Example

Link: WeapNV9mmPistol {
   Texture: 3 ReplacementTexture
}

This replaces the texture set at index 3 on the 9mm pistol with ReplacementTexture

Link: WeapNV9mmPistol {
   Texture: ToReplace ReplacementTexture
}

This will search the indexes for the form ToReplace, and replace it with ReplacementTexture.

Link: WeapNV9mmPistol {
   Texture: -1
}

This removes all texture sets from the 9mm pistol.

See Also