I am about to attempt some scripting involving calculations using the player (and other actors') maximum encumbrance capacity and current encumbrance (ie. weight of their inventory). The wiki states that GetBaseAV and GetAV do not work reliably for encumbrance, so I was wondering what the best methods for determining these two values are. Are there functions which allow you to get the value directly (in OBSE or otherwise), or are tricksy walkarounds required? I thought I'd ask here, and then probably update the wiki with the best methods (probably putting a link here: http://cs.elderscrolls.com/constwiki/index.php/Stats_List#Encumbrance), rather than finding some mod that does what I require and dissecting it.
Thank you in advance