GetWeight - ActorBase

SKSE Member of: ActorBase Script

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

SyntaxEdit

float Function GetWeight() native

ParametersEdit

None

Return ValueEdit

Returns the body weight of this actor.

NotesEdit

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

ExamplesEdit

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

See AlsoEdit