SetNifBlockScale
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
Sets the scale of 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
reference.SetNifBlockScale blockName:string scale:float pcModel:1/2
Or:
reference.SetNifScale blockName:string scale:float pcModel:1/2
Example
objectRef.SetNifBlockScale "Bucket01:0" 0.25
Notes
- The changes are reset once the calling reference's parent cell is reloaded, or Update3D is called on it.