RenameNifBlock

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Renames the specified NIF block in the calling reference's loaded 3D model.

  • The 3rd argument, pcModel, is optional, and may be used when calling the function on the player. The player character has two, completely separate 3D models for 1st and 3rd person. This argument enables to explicitly target one of the models.
1	3rd Person Model
2	1st Person Model

Syntax

[help]
(successful:0/1) reference.RenameNifBlock blockName:string newName:string pcModel:1/2

Example

player.RenameNifBlock "ProjectileNode" "ProjectileNode_1" 

Notes

  • The changes are reset once the calling reference's parent cell is reloaded, or Update3D is called on it.