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...") |
(No difference)
|
Revision as of 05:16, 10 May 2012
SKSE Member of: ActorBase Script
Returns the body weight of this ActorBase. (This function requires SKSE)
Syntax
float Function GetWeight() native
Parameters
None
Return Value
Returns the body weight of this ActorBase.
Notes
- The body weight is a value from 0-100 which is related to the weight when creating your character in the race menu.
Examples
ActorBase pActorBase = Game.GetPlayer().GetActorBase()
float weight = pActorBase.GetWeight()
Debug.Trace("The players body weight is " + weight + "%")