Background for Skyrim SE
Member of the ConstructibleObject script
FormfunctionGetNthIngredient(intn)Native

Description

Wiki Description

Returns the Nth Ingredient of a ConstructibleObject as Form. (This function requires SKSE)

Documentation Comment

Gets/Sets the Nth ingredient required


Caveats

CK Wiki - Notes

None


Parameters

intn

CK Wiki Description

the Nth Ingredient of the ConstructibleObject


Examples

ConstructibleObject Recipe = RecipeArmorIronCuirass
Form Ing01 = Recipe.GetNthIngredient(0) ; Ing01 = LeatherStrips
MiscObject Ingot = RecipeArmorIronCuirass.GetNthIngredient(RecipeArmorIronCuirass.GetNumIngredients - 1) as MiscObject ; Ingot = IngotIron

Auto-Generated Example

int myInt__n

Form returnedValue = myConstructibleObject__toCallFunctionOn.GetNthIngredient(myInt__n)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

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