>> make a DM Game with respawn:
class Header
{
gameType = DM;
minPlayers = 2;
maxPlayers = 12;
};
respawn = 3;
respawndelay = 15;
respawnOnStart = 1;
respawnTemplates[] = {"Counter","Tickets","Spectator"};
>>on editor make 12 BLUFOR Units and "respawn_west" marker
>> make Renegades with this on init.sqf:
if (isServer) then {WEST setFriend [WEST, 0];};
>> or this:
While {True} Do
{
_i = 0;
While {_i < Count AllUnits} Do
{
If (Rating (AllUnits Select _i) > -6000) Then
{
(AllUnits Select _i) Addrating ((- Rating (AllUnits Select _i)) - 3000);
};
_i = _i + 1;
Sleep 0.1;
};
};
>>make units on a parachute at OnPlayerRespawn.sqf:
private["_newunit","_oldunit","_respawn","_respawndelay"];
_newunit = _this select 0;
_oldunit = _this select 1;
_respawn = _this select 2;
_respawndelay = _this select 3;
_newunit addbackpack "B_Parachute";
_newunit setPosATL [getPosATL _newunit select 0, getPosATL _newunit select 1, 1000];
and.. crash unit with the ground because you don't have "Open Parachute" Action :)