SetRefrModelPath
From GECK
A function added by the JIP NVSE Plugin.
Contents
Description
Sets the file path to the NIF model used by the calling reference. Unlike similar functions, such as SetModelPathEx, the model is changed for the calling reference only and will not affect other instances of the same base form.
- The file path is relative to ..\Data\Meshes\.
- Calling the function with the nifPath argument omitted will reset the model to the one defined for the reference's base form.
- A call to this function should be followed by a call to Update3D on the reference, in order to apply the changes.
Syntax
reference.SetRefrModelPath nifPath:string
Example
objectRef.SetRefrModelPath "Clutter\LiquorBottles\WhiskeyBottle01Empty.nif"
See Also
- SetModelPath
- SetModelPathEx - deprecated in favor of SetModelPath (not a typo, just a weird history).