GetWeight - ActorBase

From Creation Kit
Jump to: navigation, search

SKSE Member of: ActorBase Script

Returns the body weight of this actor. (This function requires SKSE)

Syntax

float Function GetWeight() native

Parameters

None

Return Value

Returns the body weight of this actor.

Notes

  • The body weight is a value from 0-100 which is related to the weight when creating your character in the race menu.

Examples

ActorBase pActorBase = Game.GetPlayer().GetActorBase()
float weight = pActorBase.GetWeight()
Debug.Trace("The players body weight is " + weight + "%")

See Also