Events - Theseus-Aegis/MissionTemplate GitHub Wiki

Events

These events are designed for when locality will be an issue, call them only on one machine using the examples provided, target event can be done on a group or unit.

  • allowFleeing
[QMGVAR(allowFleeing), [_group, 0], _group] call CBA_fnc_targetEvent;
  • disableAI
[QMGVAR(disableAI), [_unit, "PATH"], _unit] call CBA_fnc_targetEvent;
  • doArtilleryFire
[QMGVAR(doArtilleryFire), [_gunner, [_position, _ammo, 1]], _gunner] call CBA_fnc_targetEvent;
  • doMove
[QMGVAR(doMove), [_unit, position _nearest], _unit] call CBA_fnc_targetEvent;
  • enableAI
[QMGVAR(enableAI), [_unit, "PATH"], _unit] call CBA_fnc_targetEvent;
  • say3D
[QMGVAR(say3D), [_unit, "tacr_kamikaze"]] call CBA_fnc_globalEvent;
  • setCombatMode
[QMGVAR(setCombatMode), [_group, "RED"], _group] call CBA_fnc_targetEvent;
  • setSpeedMode
[QMGVAR(setSpeedMode), [_unit, "FULL"], _unit] call CBA_fnc_targetEvent;
  • setUnitPos
[QMGVAR(setUnitPos), [_unit, "UP"], _unit] call CBA_fnc_targetEvent;
  • setVehicleAmmo
[QMGVAR(setVehicleAmmo), [_mortar, 1], _mortar] call CBA_fnc_targetEvent;