One has to be careful about brandishing a firearm as a warning and firing warning shots. As with shooting to wound, both can be interpreted as indications your life was not truly in danger. The rule seems to be one only draws a weapon to shoot, and you shoot center mass until the threat is stopped. If you do either brandish or fire a warning shot, it's likely wise to immediately call 911 (assuming the threat has withdrawn), report your action, and give your reason, hopefully that you feared for your life -- then shut up until you consult an attorney. The reason for reporting your action immediately is to disarm your presumed assaillant, who, if they report your behavior first, becomes the victim in the eyes of law enforcement.
So if someone is moving towards me with a knife I'm not allowed to draw my pistol and yell STOP, DROP YOUR WEAPON!.....?
That seems strange. If I can stop a situation without firing the weapon (still need the presence of the weapon to stop them) that seems the best option in my logic.
The other question I keep asking myself is in all the tons of "after math of a self defense shooting" videos I've watched they say to put the gun down before the police arrive or you could be shot. But what if I've disarmed a would be assailant and need to keep my weapon trained on them for my safety until the police arrive to apprehend them? Convoluted.