GetWeight - Form

From the Fallout4 CreationKit Wiki
Revision as of 14:32, 21 January 2018 by imported>Qazaaq (added required f4se version)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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