mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
32 lines
528 B
Plaintext
32 lines
528 B
Plaintext
/*
|
|
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
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
_logic = _this select 0;
|
|
_units = _this select 1;
|
|
_activated = _this select 2;
|
|
|
|
if !(_activated) exitWith {};
|
|
|
|
{
|
|
_x setVariable ["ACE_canMoveRallypoint", true];
|
|
} forEach _units;
|
|
|
|
diag_log text "[ACE]: Rallypoint Module Initialized.";
|