Difference between revisions of "SetNthDestructionStageReplacement"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
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...")
(No difference)

Revision as of 18:13, 3 May 2015

< [[::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

[help]
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.

See Also