- Found in:
- SKSE
Description
Wiki Description
Returns the number of Ingredients of a ConstructibleObject as Int. (This function requires SKSE)
Documentation Comment
Gets the number of ingredients
Caveats
CK Wiki - Notes
None
Examples
Int IngNum = RecipeArmorIronCuirass.GetNumIngredients() ; IngNum = 2
; Iteration through all Ingredients, beginning by the last
Int i = RecipeArmorIronCuirass.GetNumIngredients() - 1
WHILE i > -1
if ( RecipeArmorIronCuirass.GetNthIngredient(i) )
; Do something
endif
i -= 1
EndWHILEAuto-Generated Example
int returnedValue = myConstructibleObject__toCallFunctionOn.GetNumIngredients()