His scrambling rating comes into play, therefore, the higher the rating the more apt he is to dash for success. (ball carrying and avoiding fumble is also important here)
Besides that you're at the whim of the sim engine. You can't out-right call scrambles for your QB or trigger it in any way. It just happens...with pressure.