GetWeight - Form

From the Fallout4 CreationKit Wiki
Revision as of 01:06, 22 October 2017 by imported>Qazaaq (added f4se member)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 an actor.
float weight = myBook.GetWeight()
Debug.Trace("This book weighs " + weight + " units.")

Notes

None

See Also

Form Script