Jump to content
Sign in to follow this  
eggbeast

maximum units per group?

Recommended Posts

I know this should be obvious, but I have searched the forum, the wiki, the various forums and googled it....:(

What is the maximum number of enemy AI units you can assign to a group? e.g.

_unit = _guard createUnit [(_allunits select round random (_max - 1)), _pos2, [], 0, "NONE"];_unit setSkill 2+(random 3);[_unit] join _guard;_unit assignAsDriver _heli1;_unit moveInDriver _heli1;

how many _unit's can I assign to group _guard?

Share this post


Link to post
Share on other sites

Not quite sure about the exact amount, but id say that you can easily go over 100.

Make a test script that create & make units join this group (use a For or something), you'll have your answer.

Share this post


Link to post
Share on other sites

If you couldnt find it with searches, why not just make a loop that creates units and spams the log with the number of units in that group.

diag_log (count units _guard);

Either it stops at some number or it crashes and you can check the last number from the file.

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  

×