SetNthDestructionStageReplacement
Revision as of 18:13, 3 May 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Sets the <i>Replacement Model</i> path of the Nth destruction stage in the <i>Destruction Data</i> of the specified <i>Object</i>. |name...")
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Sets the Replacement Model path of the Nth destruction stage in the Destruction Data of the specified Object.
Syntax
SetNthDestructionStageReplacement object:ref stageIndex:int modelPath:string
Example
SetNthDestructionStageReplacement ElectricBox01 0 "clutter\ElectricBox\ElectricBox1Hulk.nif"
Will set the Replacement Model path of the first (index 0) destruction stage of ElectricBox01.
Notes
- Obviously, this function is only usable with object types that have Destruction Data.
- This function will only work if the specified destruction stage already has a Replacement Model.