Difference between revisions of "GetAmmoEffectTraitNumeric"
Jump to navigation
Jump to search
imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Returns the value of an ammo effect's numeric trait (determined by <i>traitID</i>). |name = GetAmmoEffectTraitNumeric |returnType = tra...") |
imported>Jazzisparis |
||
Line 32: | Line 32: | ||
}} | }} | ||
==See Also== | ==See Also== | ||
*[[SetAmmoEffectTraitNumeric]] | |||
*[[GetNumAmmoEffects]] | |||
*[[GetNthAmmoEffect]] | |||
*[[AddAmmoEffect]] | |||
*[[RemoveAmmoEffect]] | |||
[[Category:Functions_(JIP)]] | [[Category:Functions_(JIP)]] |
Revision as of 10:09, 28 March 2015
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Returns the value of an ammo effect's numeric trait (determined by traitID).
Syntax
(traitValue:float) GetAmmoEffectTraitNumeric ammoEffect:ref traitID:int{0-2}
Ammo Effect Numeric Trait IDs
0 Effect Type 1 Operation Type 2 Value
Effect Types:
0 Damage Mod 1 DR Mod 2 DT Mod 3 Spread Mod 4 Weapon Condition Mod 5 Fatigue Mod
Operation Types:
0 Add 1 Multiply 2 Subtract
Example
GetAmmoEffectTraitNumeric AmmoEffect5mmDTReduction 0
Will return the effect type of AmmoEffect5mmDTReduction.