I'm trying to make an IED ambush mission but my only issue with it (so far) is the when the IED detonates, the squad and drivers of the vehicles (that have survived) don't dismount their respective vehicles. Below is my IED.sqf script:
// Spawns IED Explosion
_bomb = "Bo_GBU12_lgb" createVehicle (getPos IED);
// Tells drivers of the vehicles to stop and get out
car1 forceSpeed 0;
? (speed car1) < 1 : car1_d action ["getOut", car1];
car2 forceSpeed 0;
? (speed car2) < 1 : car2_d action ["getOut", car2]; {_x action ["getOut", car2];} forEach units wgrp1;
car1_d is the driver of the first vehicle. He was not added as a separate unit and placed in the drivers seat.
Any help would be greatly appreciated,
2234jones