Difference between revisions of "GetBodyWeight - ActorBase"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
(Added F4SE member)
 
imported>Qazaaq
(added required f4se version)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''F4SE Member of:''' [[ActorBase Script]]
'''F4SE Member of:''' [[ActorBase Script]]
{{Template:Papyrus:RequiredF4SE|version=0.3.1}}


Returns this actors [[BodyWeight Struct - ActorBase|BodyWeight]] information.
Returns this actors [[BodyWeight Struct - ActorBase|BodyWeight]] information.
Line 16: Line 17:
== Examples ==
== Examples ==
<source lang="papyrus">
<source lang="papyrus">
ActorBase:BodyWeight bodyWeight = Game.GetPlayer().GetBodyWeight()
ActorBase PlayerBase = Game.GetPlayer().GetActorBase()
 
ActorBase:BodyWeight bodyWeight = PlayerBase.GetBodyWeight()
Debug.Trace(bodyWeight)
Debug.Trace(bodyWeight)
</source>
</source>

Latest revision as of 02:19, 21 January 2018

F4SE Member of: ActorBase Script
Requires F4SE version 0.3.1 or higher.

Returns this actors BodyWeight information.

Syntax[edit | edit source]

BodyWeight Function GetBodyWeight() Native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The BodyWeight for this actor.

Examples[edit | edit source]

ActorBase PlayerBase = Game.GetPlayer().GetActorBase()

ActorBase:BodyWeight bodyWeight = PlayerBase.GetBodyWeight()
Debug.Trace(bodyWeight)

Notes[edit | edit source]

None.

See Also[edit | edit source]