GetNthDestructionStageReplacement

From the Fallout3 GECK Wiki
Revision as of 19:12, 3 May 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Returns the <i>Replacement Model</i> path (if any) of the Nth destruction stage in the <i>Destruction Data</i> of the specified <i>Object...")
(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

Returns the Replacement Model path (if any) of the Nth destruction stage in the Destruction Data of the specified Object.

Syntax

[help]
(modelPath:string_var) GetNthDestructionStageReplacement object:ref stageIndex:int

Example

let sReplacement := GetNthDestructionStageReplacement ElectricBox01 0

Will return 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