Bluclawstoryteller Posted August 18, 2009 Share Posted August 18, 2009 Hello, I am a noobish Modder. I have made a few basic mods, and I now want to make my first serious mod. I am trying to do some scripting, but I am having trouble finding a variable, and even more trouble figuring out how to make one. I am trying to make an armor script, but my script needs to know the condition of the armor. I can't find a "getarmorhealth" function or anything. Can someone help me either find one or make one? Link to comment Share on other sites More sharing options...
gsmanners Posted August 18, 2009 Share Posted August 18, 2009 If you only need a general idea of the armor health, you can use: http://geck.bethsoft.com/index.php/GetArmorRating(or GetArmorRatingUpperBody which works similarly). If you need a precise health value, then you're going to have to use FOSE and GetEquippedCurrentHealth. float armor set armor to player.GetEquippedCurrentHealth 2 Link to comment Share on other sites More sharing options...
Bluclawstoryteller Posted August 18, 2009 Author Share Posted August 18, 2009 If you only need a general idea of the armor health, you can use: http://geck.bethsoft.com/index.php/GetArmorRating(or GetArmorRatingUpperBody which works similarly). If you need a precise health value, then you're going to have to use FOSE and GetEquippedCurrentHealth. float armor set armor to player.GetEquippedCurrentHealth 2 Thanks! Exactly what I needed! Link to comment Share on other sites More sharing options...
Recommended Posts