LearnEffect - Ingredient

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Ingredient Script

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

Syntax[edit | edit source]

Function LearnEffect(int aiIndex) native

Parameters[edit | edit source]

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

Return Value[edit | edit source]

None.

Examples[edit | edit source]

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

See Also[edit | edit source]