Difference between revisions of "SetResultQuantity - ConstructibleObject"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Seigneur Voland
m
imported>Seigneur Voland
m
 
Line 20: Line 20:
<source lang="papyrus">
<source lang="papyrus">
RecipeArmorIronCuirass.SetResultQuantity(2) ; 2 Armors for 1 today !
RecipeArmorIronCuirass.SetResultQuantity(2) ; 2 Armors for 1 today !
RecipeArmorIronCuirass.SetResultQuantity(RecipeArmorSteelCuirass.GetResultQuantity()*2)
RecipeArmorIronCuirass.SetResultQuantity(RecipeArmorSteelCuirassA.GetResultQuantity()*2)
</source>
</source>



Latest revision as of 10:07, 5 August 2012

SKSE Member of: ConstructibleObject Script

Changes the quantity of the result created by a ConstructibleObject. (This function requires SKSE)

Syntax[edit | edit source]

Function SetResultQuantity(Int Quantity) native

Parameters[edit | edit source]

  • Quantity : the quantity of result created by the ConstructibleObject

Return Value[edit | edit source]

None

Examples[edit | edit source]

RecipeArmorIronCuirass.SetResultQuantity(2) ; 2 Armors for 1 today !
RecipeArmorIronCuirass.SetResultQuantity(RecipeArmorSteelCuirassA.GetResultQuantity()*2)

Notes[edit | edit source]

None

See Also[edit | edit source]