SetAmmoTraitNumeric

Revision as of 16:00, 30 March 2015 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

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