SetNthDestructionStageExplosion
Revision as of 19:06, 3 May 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Sets the <i>Explosion</i> of the Nth destruction stage in the <i>Destruction Data</i> of the specified <i>Object</i>. |name = SetNthDest...")
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Sets the Explosion of the Nth destruction stage in the Destruction Data of the specified Object.
Syntax
(explosion:ref) SetNthDestructionStageExplosion object:ref stageIndex:int newExplosion:ref
Example
SetNthDestructionStageExplosion ElectricBox01 0 MissileExplosion
Will set the Explosion of the first (index 0) destruction stage of ElectricBox01 to MissileExplosion.
SetNthDestructionStageExplosion ElectricBox01 2
Will set the Explosion 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.