Difference between revisions of "SetResultQuantity - ConstructibleObject"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Seigneur Voland
(Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' ConstructibleObject Script Changes the quantity of the result created by a Constructib...")
 
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())
RecipeArmorIronCuirass.SetResultQuantity(RecipeArmorSteelCuirass.GetResultQuantity()*2)
</source>
</source>



Revision as of 09:59, 5 August 2012

SKSE Member of: ConstructibleObject Script

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

Syntax

Function SetResultQuantity(Int Quantity) native

Parameters

  • Quantity : the quantity of result created by the ConstructibleObject

Return Value

None

Examples

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

Notes

None

See Also