ACE3/addons/respawn/functions/fnc_moduleRallypoint.sqf

32 lines
530 B
Plaintext
Raw Normal View History

2015-01-12 09:07:03 +00:00
/*
Name: ACE_Respawn_fnc_moduleRallypoint
Author(s):
commy2
Description:
initializes the Rallypoint module
Parameters:
0: OBJECT - logic
1: ARRAY<OBJECT> - synced units
2: BOOLEAN - activated
Returns:
VOID
*/
2015-01-12 09:07:03 +00:00
#include "script_component.hpp"
2015-01-12 09:07:03 +00:00
_logic = _this select 0;
_units = _this select 1;
_activated = _this select 2;
if !(_activated) exitWith {};
{
2015-01-13 14:28:03 +00:00
_x setVariable ["ACE_canMoveRallypoint", true];
2015-01-12 09:07:03 +00:00
} forEach _units;
2015-01-12 09:49:21 +00:00
diag_log text "[ACE]: Rallypoint Module Initialized.";