LearnEffect - Ingredient

From the Fallout4 CreationKit Wiki
Revision as of 14:49, 20 October 2011 by imported>Plplecuyer (→‎See Also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]