Jump to content
Sign in to follow this  
thomsonb

how many groups can i create?

Recommended Posts

I am using the createGroup command to create a large number of groups and i seem to be reachng a limit;

What is the limit on number of groups in ArmA?

Tried searching the fourums to find out, but no luck

cheers

Ben

Share this post


Link to post
Share on other sites

Last time I checked I think it was 128 per side.

You can simply try it by writing this in init.sqf:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

sleep 0.001;

private ["_i","_grp"];

_i=0;_grp=group player;

while{!(isNull _grp)}do

{

// deleteGroup _grp; // Delete the comment in front to check if deleting groups works

_grp=createGroup EAST;

_i=_i+1;

player sideChat format["Created %1 (%2)",_grp,_i];

sleep 0.2;

};At some point it should stop and you know how many you can create.

Last time I tested (v1.02 or so) Empty groups didnt get destroyed properly so I wrote some scripts to re-use empty groups, i'm not sure what the current status is...

Update: 144 Groups is the max per side, group 145 will be a nullgroup smile_o.gif

When you add deleteGroup _grp; to the start of the loop, it will constantly create group: 1-1-A, and keeps counting over the 144 limit, which means that at least in v1.07Beta deleting groups works properly smile_o.gif

Share this post


Link to post
Share on other sites

Thanks for the quick reply and the info mate I appriciate it,

144 groups is the number my mission was getting stuck on, im very pleased that its the group count and not my scripting that is to blame! I was expecting a number like 128 or 256, 144 seems a bit random.

Cheers

Ben

Share this post


Link to post
Share on other sites
Thanks for the quick reply and the info mate I appriciate it,

144 groups is the number my mission was getting stuck on, im very pleased that its the group count and not my scripting that is to blame! I was expecting a number like 128 or 256, 144 seems a bit random.

Cheers

Ben

NP, if you have to you could cheat and use Resistance while spawning Russian skinned soldiers, putting Resistance on Russian side etc etc.

And indeed the number is weird, might open a bugid to receive an answer or limitation change etc at bugs.armed-assault.net

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×