FishBiter Posted March 12, 2013 Share Posted March 12, 2013 Just as the title says, I can't find out what the function is to get the current durability percentage of the player's equipped armor. The only relevant function I've found is Player.getequippedcurrenthealth 2 I need a function that either returns the max health for equipped object 2, or that gives the health percentage of object 2. Anyone know? Link to comment Share on other sites More sharing options...
jazzisparis Posted March 12, 2013 Share Posted March 12, 2013 (edited) Use this: set rArmor to player.GetEquippedObject 2set fMaxHealth to GetHealth rArmor (EDIT) Clarification: Use GetHealth alongside GetEquippedCurrentHealth. The former returns the base object's max health, the later the current health. Edited March 12, 2013 by jazzisparis Link to comment Share on other sites More sharing options...
Recommended Posts