forge/arma/server/addons/task/functions/modules/fnc_shootersModule.sqf
2026-05-23 09:23:12 -05:00

24 lines
523 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: IDSolutions
* Initializes the shooters module
*
* Arguments:
* 0: Logic <OBJECT> - The logic object
* 1: Units <ARRAY> - The array of units
* 2: Activated <BOOL> - Whether the module is activated
*
* Return Value:
* None
*
* Example:
* [logicObject, [unit1, unit2], true] call forge_server_task_fnc_shootersModule;
*
* Public: No
*/
params [["_logic", objNull, [objNull]], ["_units", [], [[]]], ["_activated", true, [true]]];
if !(_activated) exitWith {};