SetWeight - ActorBase
Revision as of 11:38, 23 September 2012 by imported>Sagitarius22
SKSE Member of: ActorBase Script
Sets the body weight of this actor. (This function requires SKSE)
SyntaxEdit
Function SetWeight(float weight) native
ParametersEdit
- weight: The amount to set the actor's weight to.
Return ValueEdit
None
NotesEdit
- This is a function performed on an ActorBase, meaning all Actors derived from this will have this weight.
- This functions requires QueueNiNodeUpdate to be called for the changes to be visible.
ExamplesEdit
ActorBase pActorBase = Game.GetPlayer().GetActorBase()
pActorBase.SetWeight(100.0)
; Game.GetPlayer().QueueNiNodeUpdate()