Background for Fallout 4
Member of the Ingredient script
intfunctionLearnNextEffect()Native

Description

Wiki Description

Flags the next unknown effect as known by the player and returns the index of the effect that was learned.

Documentation Comment

Flags the next unknown effect as known by the player, returning index of effect learned


Caveats


Examples

; Learn the next effect from the carrot
if (Carrot.LearnNextEffect() == 0)
  Debug.Trace("We learned the first effect from the carrot!")
endIf

Auto-Generated Example

int returnedValue = myIngredient__toCallFunctionOn.LearnNextEffect()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.