GetExplosionTraitNumeric

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns the value of a numeric trait (determined by traitID) of the specified Explosion.

Syntax

[help]
(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