These are programmed in ahead of time, not arbitrarily created.
the hero breaking away from the military and either escaping or being dragged back is not guaranteed to happen, but it is an event whose parameters are programmed in.