Jump to content
  • 0

need a little help to change mutliple creategroups


Cubitron

Question

How can i change this to Multiple Groups like east west

 

_group = grpNull;
if (_plyrGroup != "") then {
{
if ((_x getVariable["GROUP",""]) == _plyrGroup) exitWith {
_group = group _x;
};
}forEach playableUnits;
 
if (isNull _group) then {
_group = createGroup west;
};
 
diag_log format["DEBUG Group Found: %1", _group];
} else {
_group = createGroup west;
diag_log format["DEBUG Group Created: %1", _group];
};
 
thanks Cubi
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...