Difference between revisions of "SetNthEffectTraitNumeric"
Jump to navigation
Jump to search
imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Sets the value of a numeric trait (determined by <i>traitID</i>) of the Nth effect of an ingestible/object effect/actor effect. |name =...") |
imported>Jazzisparis |
||
Line 28: | Line 28: | ||
}} | }} | ||
==See Also== | ==See Also== | ||
*[[GetNthEffectTraitNumeric]] | |||
*[[GetNumEffects]] | |||
*[[GetNthEffectBase]] | |||
[[Category:Functions_(JIP)]] | [[Category:Functions_(JIP)]] |
Revision as of 12:54, 28 March 2015
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Sets the value of a numeric trait (determined by traitID) of the Nth effect of an ingestible/object effect/actor effect.
Syntax
(traitValue:int) SetNthEffectTraitNumeric effectForm:ref effectIndex:int traitID:int{0-3} newValue:int
Effect Numeric Trait IDs
0 Magnitude 1 Area 2 Duration (Seconds) 3 Range (0 - Self, 1 - Touch, 2 - Target)
Example
SetNthEffectTraitNumeric Stimpak 0 2 45
Will set the Duration of the effect at index 0 of Stimpak to 45.