GetWeight - Form

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

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

Gets the weight of this form.

Syntax[edit | edit source]

float Function GetWeight() Native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

The weight of this form.

Examples[edit | edit source]

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

Notes[edit | edit source]

None

See Also[edit | edit source]

Form Script