Gerokeymaster Posted June 28, 2015 Posted June 28, 2015 I have an older mod on here that lets you use a Workbench to convert pistols to melee weapons: http://www.nexusmods.com/newvegas/mods/50880/? The only real problem I have with it is that when you craft a gun into a club or vice versa, it completely repairs the weapon, so you can basically use it to repair all of your pistols for free. I was wondering if there was a way to make a script that would check what the condition/health of the weapon used as the crafting material is, and sets the condition/health of the crafted weapon to the same amount. I know you can script it to set a crafted item to always come out at the same condition/health, and thought about doing that (just setting it to always give you the weapon at 75% condition or something), but I'd really rather have it come out at the exact same condition it went in at. If anyone knows a way to write a script that does that, I'd appreciate the help!
Belthan Posted June 28, 2015 Posted June 28, 2015 You might be able to use GetWeaponHealthPerc and ]GetWeaponHealthPerc but they only work on the actor's currently equipped weapon. You might be able to get around that with a bit of EquipItem trickery.
Recommended Posts