SetWeight - Form
Revision as of 02:23, 1 September 2012 by imported>JustinOther (→Notes: Added to note about maintaining edits)
SKSE Member of: Form Script
Sets the weight of this form. (This function requires SKSE)
SyntaxEdit
Function SetWeight(float weight) native
ParametersEdit
- weight: the new weight of the form
Return ValueEdit
None
ExamplesEdit
Gold001.SetWeight(1.0)
Debug.Trace("These coins really are worth their weight in gold!")
NotesEdit
- Does not work on forms that do not have weight (eg Quest aliases flagged as "Quest Object")
- This function is performed on a base Form, meaning changes will not save. Edits can maintained via a maintenance setup or something similar.