GetAmmoTraitNumeric

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

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

Syntax

[help]
(traitValue:float) GetAmmoTraitNumeric ammo:ref traitID:int{0-2}

Ammo Numeric Trait IDs

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

Example

GetAmmoTraitNumeric Ammo12Ga 1

Will return the 12 Gauge Round's Projectiles Per Shot.

See Also