Background for Skyrim SE

Ingredient


Inheritance Tree

No indexed scripts extend this script.

Properties
Events
Functions
boolfunctionIsHostile()Native

Returns whether this ingredient is considered hostile or not.

voidfunctionLearnEffect(intaiIndex)Native

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

intfunctionLearnNextEffect()Native

Flags the next unknown effect as known by the player and returns the index of the effect that was learned.

voidfunctionLearnAllEffects()Native

Flags all effects as known by the player.

intfunctionGetNumEffects()Native

Returns the number of effects on this enchantment, ingredient, potion, or spell. (This function requires SKSE)

floatfunctionGetNthEffectMagnitude(intindex)Native

Returns the magnitude of the Nth effect attached to this enchantment, ingredient, potion, or spell. (This function requires SKSE)

intfunctionGetNthEffectArea(intindex)Native

Returns the area of the Nth effect attached to this enchantment, ingredient, potion, or spell. (This function requires SKSE)

intfunctionGetNthEffectDuration(intindex)Native

Returns the duration of the Nth effect attached to this enchantment, ingredient, potion, or spell. (This function requires SKSE)

MagicEffectfunctionGetNthEffectMagicEffect(intindex)Native

Returns the Nth MagicEffect attached to this enchantment, ingredient, potion, or spell. (This function requires SKSE)

intfunctionGetCostliestEffectIndex()Native

Returns the index of the costliest effect on an enchantment, ingredient, potion, or spell. (This function requires SKSE)

voidfunctionSetNthEffectMagnitude(intindex, floatvalue)Native

sets the magnitude of the specified effect

voidfunctionSetNthEffectArea(intindex, intvalue)Native

sets the area of the specified effect

voidfunctionSetNthEffectDuration(intindex, intvalue)Native

sets the duration of the specified effect

boolfunctionGetIsNthEffectKnown(intindex)Native

determines whether the player knows this effect

float[]functionGetEffectMagnitudes()Native

Returns all the magnitudes of this object in order

int[]functionGetEffectAreas()Native

Returns all the areas of this object in order

int[]functionGetEffectDurations()Native

Returns all the durations of this object in order

MagicEffect[]functionGetMagicEffects()Native

Returns all the magic effects of this object in order

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.