Background for Skyrim SE
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 Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.