GetInventoryWeight
From GECK
(Redirected from GetInvWeight)
A function added by the Lutana NVSE plugin, now part of the JIP NVSE Plugin.
Contents
Description
Returns the total weight of items in the inventory of a reference. The optional "playable" parameter excludes non-playable items.
Syntax
(float) [actorRef].GetInventoryWeight playable:bool
Or:
(float) [actorRef].GetInvWeight playable:bool
Example
set fWeight to PlayerRef.GetInvWeight
Will return the combined weight of all the player's items.
set fWeight to RoseofSharonCassidyREF.GetInvWeight 1
Will return the combined weight of all Cass's playable items.