SetNthDestructionStageDebris
Jump to navigation
Jump to search
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Sets the Debris of the Nth destruction stage in the Destruction Data of the specified Object.
Syntax
(debris:ref) SetNthDestructionStageDebris object:ref stageIndex:int newDebris:ref
Example
SetNthDestructionStageDebris ElectricBox01 0 debrisFlameMesh
Will set the Debris of the first (index 0) destruction stage of ElectricBox01 to debrisFlameMesh.
SetNthDestructionStageDebris ElectricBox01 2
Will set the Debris of the third (index 2) destruction stage of ElectricBox01 to None.
Notes
- Obviously, this function is only usable with object types that have Destruction Data.