ACE3/addons/respawn/functions/fnc_moduleRallypoint.sqf
commy2 05d30c5573 convert log macros to cba versions (#4282)
* convert log macros to cba versions

* Add changes to AB

* remove obsolete macro
2016-10-02 12:55:31 +02:00

30 lines
509 B
Plaintext

/*
* Author: commy2
* Initializes the Rallypoint module.
*
* Arguments:
* 0: Logic <OBJECT>
* 1: Synced units <ARRAY>
* 2: Activated <BOOL>
*
* Return Value:
* None
*
* Example:
* [logic, [ACE_Player], true] call ace_respawn_fnc_moduleRallypoint
*
* Public: No
*/
#include "script_component.hpp"
params ["_logic", "_units", "_activated"];
if !(_activated) exitWith {};
{
_x setVariable ["ACE_canMoveRallypoint", true];
false
} count _units;
INFO("Rallypoint Module Initialized.");