- Found in:
- SKSE
Description
Wiki Description
Sets the body weight of this actor. (This function requires SKSE)
Caveats
CK Wiki - Notes
- This is a function performed on an ActorBase, meaning all Actors derived from this will have this weight.
- This functions requires Actor.QueueNiNodeUpdate() to be called for the changes to be visible.
Parameters
floatweight
CK Wiki Description
The amount to set the actor's weight to.
Examples
ActorBase pActorBase = Game.GetPlayer().GetActorBase()
pActorBase.SetWeight(100.0)
; Game.GetPlayer().QueueNiNodeUpdate()Auto-Generated Example
float myFloat__weight
myActorBase__toCallFunctionOn.SetWeight(myFloat__weight)