2015-03-09 18:52:15 +00:00
|
|
|
/*
|
|
|
|
* Author: PabstMirror
|
2015-03-11 07:06:07 +00:00
|
|
|
* Function for the module (handles the map fill level)
|
2015-03-09 18:52:15 +00:00
|
|
|
*
|
|
|
|
* Arguments:
|
2015-03-11 07:06:07 +00:00
|
|
|
* 0: logic <OBJECT>
|
2015-03-09 18:52:15 +00:00
|
|
|
* 1: synced units-not used <ARRAY>
|
|
|
|
* 2: Module Activated <BOOL>
|
|
|
|
*
|
|
|
|
* Return Value:
|
2015-03-11 07:06:07 +00:00
|
|
|
* Nothing
|
2015-03-09 18:52:15 +00:00
|
|
|
*
|
|
|
|
* Example:
|
2015-03-11 07:06:07 +00:00
|
|
|
* [module, [], true] call ace_microdagr_fnc_moduleMapFill
|
2015-03-09 18:52:15 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
PARAMS_3(_logic,_syncedUnits,_activated);
|
|
|
|
|
|
|
|
if (!_activated) exitWith {WARNING("Module Placed but not active");};
|
|
|
|
|
|
|
|
if (isServer) then {
|
|
|
|
[_logic, QGVAR(MapDataAvailable), "MapDataAvailable"] call EFUNC(common,readSettingFromModule);
|
|
|
|
};
|