AO limit soft - Global-Conflicts-ArmA/Olsen-Framework-Arma-3 GitHub Wiki

Description

The AO limit module allows missions makers to restrict players within an invisible boundary defined by an area marker.
The difference between this module and the AO limit module is this allows units to move outside the boundary for X amount of time and gives them a visual timer, similar to a battlefield game.
Vehicles have their own settings so air assets can pass in and out.

Usage

  1. Go to modules>module.sqf and enable the AO_limit_soft module.
  2. Place an area marker down and give it a variable.
  3. Go to modules>AO_limit_soft>settings.sqf
  4. Add the following line below
[blufor, "marker_setup"] call FUNC(addAOMarker);

blufor - This is the side effected by the AO limit, this can be blufor, opfor, independent, and civilian.
marker_setup - This is the variable of the marker you placed.

GVAR(AOTimer) = 30;
  • This is the timer for ground units including ground vehicles. Change the number to how long to wish, in seconds, to allow units outside the AO before killing them. Use -1 to allow infinite time.
GVAR(AOTimerAir) = -1;
  • This is the timer for air units. Change the number to how long to wish, in seconds, to allow units outside the AO before killing them. Use -1 to allow infinite time.
GVAR(AudibleWarning) = false;
  • Set this to true to enable sound effects when a unit leaves the AO.
    You can sample this sound if you go to the sounds folder in the module.
    If you want to change the sound. Simply replace that file with the same name alert and make sure the file format is a .ogg