GetExplosionTraitNumeric

Revision as of 09:04, 1 June 2016 by imported>Jazzisparis
(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 a numeric trait (determined by traitID) of the specified Explosion.

Syntax

(traitValue:float) GetExplosionTraitNumeric explosion:ref traitID:int{0-7}

Explosion Numeric Trait IDs

0	Force
1	Damage
2	Radius
3	IS Radius
4	RAD Level
5	RAD Dissipation Time
6	RAD Radius
7	Sound Level

Example

set fValue to GetExplosionTraitNumeric 40mmGrenadeExplosion 2

Will return the Radius of 40mmGrenadeExplosion.

See Also