Difference between revisions of "GetTotalItemWeight - ObjectReference"
Jump to navigation
Jump to search
imported>Bot Owned (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' ObjectReference Script This Function will return the total item weight of a ObjectRefe...") |
imported>Bot Owned m (→Notes) |
||
Line 22: | Line 22: | ||
== Notes == | == Notes == | ||
* This function only works when run on the player, using it on any other actor or container reference will return a 0 | * This function only works when run on the player, using it on any other actor or container reference will return a 0. | ||
== See Also == | == See Also == |
Revision as of 00:10, 22 June 2013
SKSE Member of: ObjectReference Script
This Function will return the total item weight of a ObjectReference.
Syntax
float Function GetTotalItemWeight() native
Return Value
Returns the total item weight of a ObjectReference.
Examples
Debug.Trace("The items The Player is currently carrying weight a combined total of " + Game.GetPlayer().GetTotalItemWeight())
Notes
- This function only works when run on the player, using it on any other actor or container reference will return a 0.