SetAmmoTraitNumeric

From GECK

A function added by the JIP NVSE Plugin.

Description

Sets the value of an ammo type's numeric trait (determined by traitID).

Syntax

(traitValue:float) SetAmmoTraitNumeric ammo:ref traitID:int{0-2} newValue:float

Ammo Numeric Trait IDs

0	Speed
1	Projectiles Per Shot
2	Ammo Consumed Percent

Example

SetAmmoTraitNumeric Ammo12Ga 1 3

Will set the 12 Gauge Round's Projectiles Per Shot to 3.

See Also

Personal tools