2015-01-12 09:07:03 +00:00
|
|
|
/*
|
2015-01-12 10:24:58 +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
|
|
|
|
2015-04-17 23:13:09 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
PARAMS_3(_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-01-12 09:07:03 +00:00
|
|
|
} forEach _units;
|
|
|
|
|
2015-01-12 09:49:21 +00:00
|
|
|
diag_log text "[ACE]: Rallypoint Module Initialized.";
|