GetWeight - Form

From the Fallout4 CreationKit Wiki
Revision as of 01:08, 22 October 2017 by imported>Qazaaq (fixed papyrus example comment)
Jump to navigation Jump to search

Member of: Form Script

Requires F4SE: 0.03.1

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