Background for Fallout 4
Member of the Ingredient script
voidfunctionLearnEffect(intaiIndex)Native

Description

Wiki Description

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

Documentation Comment

Flags the effect with the given 0 based index as known by the player


Caveats


Parameters

intaiIndex

CK Wiki Description

0 based index of effect to flag as known


Examples

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

Auto-Generated Example

int myInt__aiIndex

myIngredient__toCallFunctionOn.LearnEffect(myInt__aiIndex)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.