GetWeight - ActorBase

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: ActorBase Script

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

Syntax[edit | edit source]

float Function GetWeight() native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

Returns the body weight of this actor.

Notes[edit | edit source]

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

Examples[edit | edit source]

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

See Also[edit | edit source]