Difference between revisions of "SetResult - 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 Form created by a ConstructibleObject. (This fu...")
 
imported>Seigneur Voland
m
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
== Syntax ==
== Syntax ==
<source lang="papyrus">
<source lang="papyrus">
Function SetResult(Form NewResult) native
Function SetResult(Form Result) native
</source>
</source>


== Parameters ==
== Parameters ==
*NewResult : the new Form created by the ContructibleObject
*Result : the new Form created by the ContructibleObject


== Return Value ==
== Return Value ==
Line 20: Line 20:
<source lang="papyrus">
<source lang="papyrus">
; Changes the Iron Cuirass created by the Steel Cuirass
; Changes the Iron Cuirass created by the Steel Cuirass
RecipeArmorIronCuirass.SetResult(ArmorSteelCuirass)
RecipeArmorIronCuirass.SetResult(ArmorSteelCuirassA)
RecipeArmorIronCuirass.SetResult(RecipeArmorSteelCuirassA.GetResult())
</source>
</source>



Latest revision as of 10:07, 5 August 2012

SKSE Member of: ConstructibleObject Script

Changes the Form created by a ConstructibleObject. (This function requires SKSE)

Syntax[edit | edit source]

Function SetResult(Form Result) native

Parameters[edit | edit source]

  • Result : the new Form created by the ContructibleObject

Return Value[edit | edit source]

None

Examples[edit | edit source]

; Changes the Iron Cuirass created by the Steel Cuirass
RecipeArmorIronCuirass.SetResult(ArmorSteelCuirassA)
RecipeArmorIronCuirass.SetResult(RecipeArmorSteelCuirassA.GetResult())

Notes[edit | edit source]

None

See Also[edit | edit source]