GetExplosionTraitForm

Revision as of 21:28, 27 March 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Returns the value of an explosion's form-type trait (determined by <i>traitID</i>). |name = GetExplosionTraitForm |returnType = traitFo...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::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

(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