Difference between revisions of "GetWeight - ActorBase"
Jump to navigation
Jump to search
imported>PurpleLunchbox (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' ActorBase Script Returns the body weight of this ActorBase. (This function requires SK...") |
imported>PurpleLunchbox |
||
Line 4: | Line 4: | ||
'''SKSE Member of:''' [[ActorBase Script]] | '''SKSE Member of:''' [[ActorBase Script]] | ||
Returns the body weight of this | Returns the body weight of this actor. (This function requires SKSE) | ||
== Syntax == | == Syntax == | ||
Line 15: | Line 15: | ||
== Return Value == | == Return Value == | ||
Returns the body weight of this | Returns the body weight of this actor. | ||
== Notes == | == Notes == |
Latest revision as of 04:18, 10 May 2012
SKSE Member of: ActorBase Script
Returns the body weight of this actor. (This function requires SKSE)
Syntax[edit | edit source]
float Function GetWeight() native
Parameters[edit | edit source]
None
Return Value[edit | edit source]
Returns the body weight of this actor.
Notes[edit | edit source]
- The body weight is a value from 0-100 which is related to the weight when creating your character in the race menu.
Examples[edit | edit source]
ActorBase pActorBase = Game.GetPlayer().GetActorBase()
float weight = pActorBase.GetWeight()
Debug.Trace("The players body weight is " + weight + "%")