Difference between revisions of "ConstructibleObject Script"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jlundin
(New page: Category:Scripting Category:Papyrus Category:Script Objects '''Extends:''' MiscObject Script Script for the manipulation of constructible object base objects. == Definit...)
 
imported>Behippo
(→‎Member Functions: Added SKSE Member Function list)
Line 20: Line 20:
== Member Functions ==
== Member Functions ==
None
None
== SKSE Member Functions ==
'''Form Function [[GetResult - ConstructibleObject|GetResult]]()'''
*Returns the form created by this recipe.
'''Function [[SetResult - ConstructibleObject|SetResult]](Form result)'''
*Changes the form created by this recipe.
'''int Function [[GetResultQuantity - ConstructibleObject|GetResultQuantity]]()'''
*Returns the quantity of the result created by this recipe.
'''Function [[SetResultQuanity - ConstructibleObject|SetResultQuantity]](int quantity)'''
*Changes the quantity of the result created by this recipe.
'''int Function [[GetNumIngredients - ConstructibleObject|GetNumIngredients]]()'''
*Returns the number of ingredients needed by this recipe.
'''Form Function [[GetNthIngredient - ConstructibleObject|GetNthIngredient]](int n)'''
*Returns the specified ingredient needed by this recipe.
'''Function [[SetNthIngredient - ConstructibleObject|SetNthIngredient]](Form required, int n)'''
*Changes the specified ingredient needed by this recipe.
'''int Function [[GetNthIngredientQuantity - ConstructibleObject|GetNthIngredientQuantity]](int n)'''
*Returns the quantity needed of the specified ingredient for this recipe.
'''Function [[SetNthIngredientQuantity - ConstructibleObject|SetNthIngredientQuantity]](int value, int n)'''
*Changes the quantity needed of the specified ingredient for this recipe.
'''Keyword Function [[GetWorkbenchKeyword - ConstructibleObject|GetWorkbenchKeyword]]()'''
*Returns the keyword of the workbench needed for this recipe.
'''Function [[SetWorkbenchKeyword - ConstructibleObject|SetWorkbenchKeyword]](string keyword)'''
*Changes the keyword of the workbench needed for this recipe.


== Events ==
== Events ==
None
None

Revision as of 01:18, 10 May 2012


Extends: MiscObject Script

Script for the manipulation of constructible object base objects.

Definition

ScriptName ConstructibleObject extends MiscObject

Properties

None

Global Functions

None

Member Functions

None

SKSE Member Functions

Form Function GetResult()

  • Returns the form created by this recipe.

Function SetResult(Form result)

  • Changes the form created by this recipe.

int Function GetResultQuantity()

  • Returns the quantity of the result created by this recipe.

Function SetResultQuantity(int quantity)

  • Changes the quantity of the result created by this recipe.

int Function GetNumIngredients()

  • Returns the number of ingredients needed by this recipe.

Form Function GetNthIngredient(int n)

  • Returns the specified ingredient needed by this recipe.

Function SetNthIngredient(Form required, int n)

  • Changes the specified ingredient needed by this recipe.

int Function GetNthIngredientQuantity(int n)

  • Returns the quantity needed of the specified ingredient for this recipe.

Function SetNthIngredientQuantity(int value, int n)

  • Changes the quantity needed of the specified ingredient for this recipe.

Keyword Function GetWorkbenchKeyword()

  • Returns the keyword of the workbench needed for this recipe.

Function SetWorkbenchKeyword(string keyword)

  • Changes the keyword of the workbench needed for this recipe.

Events

None