GetWeight - Form

From Creation Kit
Jump to: navigation, search

F4SE Member of: Form Script
Requires F4SE version 0.3.1 or higher.

Gets the weight of this form.

Syntax

float Function GetWeight() Native

Parameters

None

Return Value

The weight of this form.

Examples

; Get the weight of a book item.
float weight = myBook.GetWeight()
Debug.Trace("This book weighs " + weight + " units.")

Notes

None

See Also

Form Script