Background for Fallout 4
Member of the ActorBase script
voidfunctionSetBodyWeight(ActorBase:BodyWeightweight)Native

Description

Wiki Description

Sets this actors BodyWeight information. Call Actor.QueueUpdate(...) on the Actor instance to update visually.

Documentation Comment

The sum of the three ratios should add to 1.0
Call QueueUpdate on the Actor instance to update visually


Caveats

CK Wiki - Notes

None.


Parameters

  1. ActorBase:BodyWeightweight

    CK Wiki Description

    The BodyWeight information for this actor.


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()

Auto-Generated Example

ActorBase:BodyWeight myActorBase_BodyWeight__weight

myActorBase__toCallFunctionOn.SetBodyWeight(myActorBase_BodyWeight__weight)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.