ACE3/addons/respawn/functions/fnc_moduleRallypoint.sqf

30 lines
516 B
Plaintext
Raw Normal View History

2015-01-12 09:07:03 +00:00
/*
2015-09-26 14:26:41 +00:00
* 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
*/
2015-04-17 23:13:09 +00:00
#include "script_component.hpp"
2015-09-26 14:26:41 +00:00
params ["_logic", "_units", "_activated"];
2015-01-12 09:07:03 +00:00
if !(_activated) exitWith {};
{
2015-01-13 14:28:03 +00:00
_x setVariable ["ACE_canMoveRallypoint", true];
2015-09-26 14:26:41 +00:00
false
} count _units;
2015-01-12 09:07:03 +00:00
ACE_LOGINFO("Rallypoint Module Initialized.");