Difference between revisions of "GetNthEffectTraitNumeric"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Jazzisparis
(Created page with "{{Function |origin = JIP |summary = Returns 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 3: Line 3:
  |summary = Returns the value of a numeric trait (determined by <i>traitID</i>) of the Nth effect of an ingestible/object effect/actor effect.
  |summary = Returns the value of a numeric trait (determined by <i>traitID</i>) of the Nth effect of an ingestible/object effect/actor effect.
  |name = GetNthEffectTraitNumeric
  |name = GetNthEffectTraitNumeric
  |returnType = baseEffect:ref
  |returnType = traitValue:int
  |arguments =  
  |arguments =  
   {{FunctionArgument
   {{FunctionArgument

Revision as of 23:22, 27 March 2015

< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Returns the value of a numeric trait (determined by traitID) of the Nth effect of an ingestible/object effect/actor effect.

Syntax

[help]
(traitValue:int) GetNthEffectTraitNumeric effectForm:ref effectIndex:int traitID:int{0-3}

Effect Numeric Trait IDs

0	Magnitude
1	Area
2	Duration (Seconds)
3	Range (0 - Self, 1 - Touch, 2 - Target)

Example

GetNthEffectTraitNumeric Stimpak 0 2

Will return the Duration of the effect at index 0 of Stimpak.

See Also