SetExplosionTraitNumeric

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

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

Syntax

[help]
(traitValue:float) SetExplosionTraitNumeric explosion:ref traitID:int{0-7} newValue:float

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

SetExplosionTraitNumeric 40mmGrenadeExplosion 2 1500

Will set the Radius of 40mmGrenadeExplosion to 1500.

See Also