GetNifBlockScale
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
Returns the scale of the specified NIF block in the calling reference's loaded 3D model.
- The 2nd 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
(scale:float) reference.GetNifBlockScale blockName:string pcModel:1/2
Or:
(scale:float) reference.GetNifScale blockName:string pcModel:1/2
Example
set fScale to objectRef.GetNifBlockScale "Bucket01:0"