LearnNextEffect - Ingredient
From Creation Kit
Member of: Ingredient Script
Flags the next unknown effect as known by the player and returns the index of the effect that was learned.
int Function LearnNextEffect() native
0-based index of effect that was learned.
; Learn the next effect from the carrot if (Carrot.LearnNextEffect() == 0) Debug.Trace("We learned the first effect from the carrot!") endIf