LearnEffect - Ingredient

Member of: Ingredient Script

Flags the effect with the given index as known by the player.

SyntaxEdit

Function LearnEffect(int aiIndex) native

ParametersEdit

  • aiIndex: 0 based index of effect to flag as known

Return ValueEdit

None.

ExamplesEdit

; Learn the first effect of the herb
Herb.LearnEffect(0)

See AlsoEdit