ashtonlp101 Posted December 3, 2020 Share Posted December 3, 2020 So I'm trying to design a gas tank that certain NPCs wear and I'm trying to script it so if the gas tank gets hit, it explodes and the gas tank is removed (Just like COD World at War). But the problem is, when I'm shooting the gas tank nothing happens. So I thought instead maybe I could run a script that checks the condition of the backpack and when it hits zero it kills the NPC in a firey explosion but I can't seem to find a variable that checks an item's condition. Anyone have any ideas, or should I just scrap this? Thanks. Here is my very simple script for the gas tank backpack: Begin OnHit Removeitem GasTankBackpack 1Placeatme GrenadeIncendiaryExplosionKill END Link to comment Share on other sites More sharing options...
ashtonlp101 Posted December 3, 2020 Author Share Posted December 3, 2020 (edited) There is a GetWeaponHealthPercentage but it seems as though bethesda never added a GetArmorHealthPercentage :sad: My current candidate is GetEquippedCurrentHealth but it only runs on a REF... Edited December 3, 2020 by ashtonlp101 Link to comment Share on other sites More sharing options...
Recommended Posts