While in 3rd person, weapons are automatically lowered down, this is a vanilla "feature". Sometimes you do not want that to happen though, like when your weapon has a flashlight attached and the latter is turned on. This quick edit addresses such case. Requires Baka Framework.
Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features without permission from or credit to me
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou are allowed to use the assets in this file without permission or crediting me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are allowed to earn Donation Points for your mods if they use my assets
Console modding permissionThis mod will not be available on Bethesda.net for console users
Author notes
This author has not provided any additional notes regarding file permissions
File credits
Inspiration https://www.nexusmods.com/fallout4/users/104575123 Script condition https://www.nexusmods.com/fallout4/users/5232181 FO4Edit entry to change https://www.nexusmods.com/fallout4/users/1095524 How I've learned about above https://www.nexusmods.com/fallout4/users/782125 FO4Edit https://www.nexusmods.com/fallout4/users/167469
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
That is only for 1st person perspective though, and I'm one of the dozen weirdos that likes to play in 3rd person. Vanilla automatically lowers your weapon in 3rd person, you don't need a mod for that - but 3rd person also suffers from the same collateral effect.
So, I've done some research for 3rd person and found an old mod that still seems to be working properly: Button Lowered Weapons However, I wanted something automatic when a flashlight is on, like the previous mods mentioned. After fiddling with some files I've got something that worked here, didn't even need to mess with scripts :)
For those interested, Mcgan has found what entry to edit here. I've merely changed the isPlayer condition to use Baka Framework's PipboyLightActive instead.
From my testing, if you already were in the "relaxed" state when you turn the Pipboy on, your character will remain in such state. However, if you turn your Pipboy off while your weapon is "up", your character will change into the "relaxed" state.
Disclaimer, I've been modding for myself for a huge time but I have never publicly released a mod. I've "learned" everything by trial & error and reverse engineering, I barely know what I'm doing. So if your PC explodes after you download this mod I'm afraid I can't help you.