mirror of
https://github.com/SnarkIndustries/A3XAI-Final.git
synced 2024-08-30 17:22:13 +00:00
Releasing previously unreleased version. Completely unsupported with no guarantee of functionality. Use at own risk.
15 lines
324 B
Plaintext
15 lines
324 B
Plaintext
#include "\A3XAI\globaldefines.hpp"
|
|
|
|
private ["_unitGroup","_isNewGroup"];
|
|
_unitGroup = _this select 0;
|
|
_isNewGroup = _this select 1;
|
|
|
|
if (isNull _unitGroup) exitWith {false};
|
|
|
|
if (_isNewGroup) then {
|
|
A3XAI_activeGroups pushBack _unitGroup;
|
|
} else {
|
|
A3XAI_activeGroups = A3XAI_activeGroups - [_unitGroup,grpNull];
|
|
};
|
|
|
|
true |