SetBodyWeight - ActorBase

Revision as of 19:07, 19 April 2017 by imported>Qazaaq (Added F4SE member)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

F4SE Member of: ActorBase Script

Sets this actors BodyWeight information. Call QueueUpdate on the 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.5
bodyWeight.Muscular = 0.5
bodyWeight.Large = 1.0
Debug.Trace(bodyWeight)

Player.SetBodyWeight(bodyWeight)
Player.QueueUpdate()

Notes

None.

See Also