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.
11 lines
313 B
Plaintext
11 lines
313 B
Plaintext
#include "\A3XAI\globaldefines.hpp"
|
|
|
|
private["_unitGroup","_protect","_unitType"];
|
|
_unitType = _this select 0;
|
|
|
|
_unitGroup = createGroup A3XAI_side;
|
|
if ((count _this) > 1) then {_unitGroup call A3XAI_protectGroup};
|
|
[_unitGroup,_unitType] call A3XAI_setUnitType;
|
|
A3XAI_activeGroups pushBack _unitGroup;
|
|
|
|
_unitGroup |