Difference between revisions of "GetAmmoEffectTraitNumeric"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Jazzisparis
imported>Jazzisparis
 
(One intermediate revision by the same user not shown)
Line 38: Line 38:
*[[RemoveAmmoEffect]]
*[[RemoveAmmoEffect]]
[[Category:Functions_(JIP)]]
[[Category:Functions_(JIP)]]
[[Category:Ammo Effect Functions (JIP)]]

Latest revision as of 14:59, 30 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

[help]
(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.

See Also