Respawns - Global-Conflicts-ArmA/Olsen-Framework-Arma-3 GitHub Wiki

Description

A feature of the framework is allowing clients to respawn using tickets, per client and a team pool also.

Usage

  • In the editor, place a logic entity.
    Go to the modules tab (f5), logic tab, and place the logic which has the little white eye icon, not the CBA one.
  • Open the logic and in it's variable name, give it one of the following variables depending on which team you wish to spawn at the chosen logic, use either fw_west_respawn, fw_east_respawn, fw_ind_respawn, fw_civ_respawn
  • Go to your serversettings.sqf file and locate respawnTickets = -1;
    This is the total amount of tickets a side has to respawn from, you can set this to -1 for unlimited tickets on a side, but NEVER set it to 0.
    You can also do wave respawns in which users will spawn but in a pre-made pen you placed, and after X amount of respawns the "pen" will release the users. Locate waveSize = 0;, change 0 to how many users must respawn before the pen is released (see below).
    If you are doing wave respawns, you'll also need to make a "pen" just make a hollow square that's tall enough and give one of the objects a variable name, in the same file, locate respawnPenGate[] = {};, between the {} brackets, write the variable of the object you want to be deleted to allow the wave respawn to leave.
  • Go to clientsettings.sqf, in here find the line respawnTickets = 0;. This is how many times a client can individually spawn out of the total team tickets. If a user can respawn twice but the team only has 1 ticket left, the user can only respawn once.