forge/arma/server/addons/task/functions/modules/fnc_cargoModule.sqf
Jacob Schmidt 0cd6509337 Refactor phone and task systems around repositories
- Rename phone class to repository and update client event handlers
- Split task helpers/modules/prototypes and add mission generator flow
- Add reward parsing, mission manager startup, and attack logging
2026-05-02 01:29:25 -05:00

24 lines
586 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: IDSolutions
* Grouping module for cargo entities in a delivery task.
* This module has no logic of its own — it acts as a sync target so that
* cargo objects can be grouped and discovered by the parent delivery module
* via synchronizedObjects + typeOf "FORGE_Module_Cargo".
*
* Arguments:
* 0: Logic <OBJECT>
* 1: Units <ARRAY>
* 2: Activated <BOOL>
*
* Return Value:
* None
*
* Public: No
*/
params [["_logic", objNull, [objNull]], ["_units", [], [[]]], ["_activated", true, [true]]];
if !(_activated) exitWith {};