Clandestino - I was lucky enough to be trained by an organisation that didn't just give the bare minimum legal training, so I gained plenty of training in these situations within the training environment.
When on the line, I also enjoyed way beyond the minimum training events, both ground, sim and aircraft based.
I also flew within an environment that encouraged airmanship, problem solving, and thinking outside the box.
By the time I was an airline P2, I had plenty of real world experience to fall back on.