ajhakra Posted August 2, 2016 Share Posted August 2, 2016 Hey there, I am wanting to make a script that would change the equip type of the sledgehammer from 2 handed to 1 handed if the player is in power armour. How would I go about doing this? Link to comment Share on other sites More sharing options...
tweakyllama Posted August 4, 2016 Share Posted August 4, 2016 You'd need to change its keywords. Alter the keywords which make it two handed to make it one handed, look at the lead pipe or something similar to find these. As for changing it when in power armour, you could add a little papyrus script to the sledgehammer which adds these keywords to the object when its equipped (see here) so long as the actor who equipped it is in power armour (like this). You could also add a check for player so that it only applies to the player. Make sure you reset the keywords on unequip (or if not wearing power armour) or it will stay 1 handed. There may well be a better way to do this, but that's what I can think of. Link to comment Share on other sites More sharing options...
ajhakra Posted August 5, 2016 Author Share Posted August 5, 2016 Thanks for the help! Link to comment Share on other sites More sharing options...
Recommended Posts