Mod:Creation Kit/LearnNextEffect - Ingredient

Member of: Mod:Creation Kit/Ingredient Script

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

Syntax
int Function LearnNextEffect native

Parameters
None.

Return Value
0-based index of effect that was learned.

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