SetNthDestructionStageReplacement

From the Fallout3 GECK Wiki
Revision as of 07:14, 14 June 2015 by imported>Jazzisparis
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::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.

See Also