SetAmmoTraitNumeric

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

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

Syntax

[help]
SetAmmoTraitNumeric ammo:baseForm traitID:int{0-2} newValue:float

Ammo Numeric Trait IDs

0	Speed
1	Projectiles Per Shot
2	Ammo Consumed Percent
3	Clip Rounds

Example

SetAmmoTraitNumeric Ammo12Ga 1 3

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

See Also