The script contains all the game needs in order to let the men eject. But, you need to let the game know that you have a script which you want to become active. In order to achieve this, you tell the game with that line (simply put): "execute this script, it's located here".
If you want to start the script immediatly when the mission begins use the following.
(attachment: initialization.jpg)
Or
If you don't want to activate it immediatly at the start of a mission, don't add the line (which activates the script) to the init. of a unit, but add it to the "On Activation" of a trigger. Do it like I did in the attached picture. (attachment: trigger.jpg)
Or
If you want the script to be come active after the variable soldiersDisembark has been set to true take a look at the third attachment. Note that I also selected "Timeout" and set "Min,Max,Mid" to "5". What does this do? After you execute this code:
soldiersDisembark=true;
almost anywhere (On Activation Field, Initialization Field, in a script) it activates the trigger after 5 seconds (which has been set in "Min,Max,Mid"). (attachment: trigger1.jpg)
Good luck, just reply if you don't understand it.