Mod:Creation Kit/SetBodyWeight - ActorBase

F4SE Member of: Mod:Creation Kit/ActorBase Script

Sets this actors BodyWeight information. Call QueueUpdate on the Mod:Creation Kit/Actor instance to update visually.

Syntax
Function SetBodyWeight(BodyWeight weight) Native

Parameters

 * weight: The BodyWeight information for this actor.

Return Value
None.

Examples
Actor Player = Game.GetPlayer

ActorBase:BodyWeight bodyWeight = new ActorBase:BodyWeight bodyWeight.Thin = 0.8 bodyWeight.Muscular = 0.1 bodyWeight.Large = 0.1 Debug.Trace(bodyWeight)

Player.GetActorBase.SetBodyWeight(bodyWeight) Player.QueueUpdate