GetExplosionTraitForm

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns the value of an explosion's form-type trait (determined by traitID).

Syntax

[help]
(traitForm:ref) GetExplosionTraitForm explosion:ref traitID:int{0-4}

Explosion Form Trait IDs

0	Light
1	Sound #1
2	Sound #2
3	Impact Data Set
4	Placed Impact Object
5	Enchantment
6	IS Mod

Example

GetExplosionTraitForm 40mmGrenadeExplosion 2

Will return the Sound #2 of 40mmGrenadeExplosion.

See Also