back against wall

I would loke it if somone could make it so when I press or hold a button I go into thirdperson and have my back against the wall.
I would like it if when you fire you turn around the corner and fire your gun and when you let go you turn back around against the wall. If possable can you make it so I can walk along the wall so I can go to different sides of the wall for stealth.

Why I want this. I hate knowing a bunch of people are around the corner and having to just walk out shooting at them and then not knowing if they are dead or running away. So I can look at my situation befor attacking.

Pictures of what I mean:


Allso Yes I have looked for this but I canot find it anywhere.