Talk:IsPlayerOverencumbered
From GECK
Trying to calculate if the player is overencumbered
- For unknown reasons, when trying to calculate if the player is overencumbered via a combination of the GetActorValue + GetPerkModifier + GetInventoryWeight functions, the check can sometimes fail. For example, the following does not work reliably:
float fCarryWeightModAV set fCarryWeightModAV to PlayerRef.GetAV CarryWeight + PlayerRef.GetAVMOD CarryWeight + 1 set fCarryWeightPerkAV to PlayerRef.GetPerkModifier 22 fCarryWeightModAV