GetNthIngredient - ConstructibleObject

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: ConstructibleObject Script

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

Syntax[edit | edit source]

Form Function GetNthIngredient(Int n) native

Parameters[edit | edit source]

  • n : the Nth Ingredient of the ConstructibleObject

Return Value[edit | edit source]

Returns the Nth Ingredient of a ConstructibleObject as Form.

Examples[edit | edit source]

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

Notes[edit | edit source]

None

See Also[edit | edit source]