GetExplosionTraitForm

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

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

Example

GetExplosionTraitForm 40mmGrenadeExplosion 2

Will return the Sound #2 of 40mmGrenadeExplosion.

See Also