trashgarbage666 Posted April 21, 2019 Share Posted April 21, 2019 The title basically says it all! I'm using an OnHit block attached to a weapon, trying to return the armor the hit NPC is wearing. Unfortunately, GetEquippedObject only returns base objects. What command should I be using? Thanks for reading!! Link to comment Share on other sites More sharing options...
trashgarbage666 Posted May 18, 2019 Author Share Posted May 18, 2019 (edited) I dug around and finally found the answer. If you're reading this and also trying to figure out how to damage the condition of something an NPC is wearing, here's all you need: ExampleREF.GetEquippedCurrentHealth (equip slot)ExampleREF.SetEquippedCurrentHealth (value) (equip slot)EQUIP SLOTS 0: Head 1: Hair 2: Upper body 3: Left hand 4: Right hand 5: Weapon 6: Pip boy 7: Backpack 8: Necklace 9: Headband10: Hat11: Eyeglasses12: Nosering13: Earrings14: Mask15: Choker16: Mouth object17: Body addon 118: Body addon 219: Body addon 3 Edited May 18, 2019 by punchbattle Link to comment Share on other sites More sharing options...
dubiousintent Posted May 18, 2019 Share Posted May 18, 2019 Thanks for reporting your solution. I'll be adding it as a 'TIP' to the "Scripting" section of the wiki "Getting started creating mods using GECK" article. -Dubious- Link to comment Share on other sites More sharing options...
Recommended Posts