GetAmmoTraitNumeric
Revision as of 19:26, 27 March 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Returns the value of an ammo type's numeric trait (determined by <i>traitID</i>). |name = GetAmmoTraitNumeric |returnType = traitValue:...")
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Returns the value of an ammo type's numeric trait (determined by traitID).
Syntax
(traitValue:float) GetAmmoTraitNumeric ammo:ref traitID:int{0-2}
Ammo numeric trait IDs
0 Speed 1 Projectiles Per Shot 2 Ammo Consumed Percent
Example
GetAmmoTraitNumeric Ammo12Ga 1
Will return the 12 Gauge Round's Projectiles Per Shot.