Difference between revisions of "SetWeight - Form"
Jump to navigation
Jump to search
imported>Fg109 (Created page for SetWeight) |
imported>Fg109 m (→See Also) |
||
Line 27: | Line 27: | ||
== See Also == | == See Also == | ||
*[[Form Script]] | *[[Form Script]] | ||
*[[GetWeight_-_Form|GetWeight - Form]] |
Revision as of 02:39, 10 May 2012
Member of: Form Script
Sets the weight of this form.
Syntax
Function SetWeight(float weight) native
Parameters
- weight: the new weight of the form
Return Value
None
Examples
Gold001.SetWeight(1.0)
Debug.Trace("These coins really are worth their weight in gold!")
Notes
- Does not work on forms that do not have weight (eg Quests)