Mass AI Paradrop


A lot of people are always looking for the “mass paradrop” of AI out of a helicopter or C-130 for example.  This code can be used to eject any entire group from the vehicle they are in with a simple script call. This code can also be used to eject any group from the vehicle they are in, just feed it the group’s name.

//////////////////////////////////////////////////////////
// Function file for ArmA2: Operation Arrowhead
// Created by: kylania
//
// nul = [groupName] execVM "groupEject.sqf";
//
// Converted to ArmA2:OA from eject1.sqs by Matt Rochelle
// http://forums.bistudio.com/showthread.php?t=74043
//////////////////////////////////////////////////////////

if (isServer) then
{
	_grp = _this select 0;

	sleep (random 3);

	{
		unassignVehicle (_x);
		(_x) action ["EJECT", vehicle _x];
		sleep 0.4;
	} foreach units _grp;
};

A demo mission of this in action is available as well.

  1. #1 by Morts on November 7, 2010 - 5:59 AM

    Is it possible to use the ACE parachutes with this script?

Comments are closed.