GetNthDestructionStageDebris

< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

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

Syntax

(debris:ref) GetNthDestructionStageDebris object:ref stageIndex:int

Example

set rDebris to GetNthDestructionStageDebris ElectricBox01 0

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