Jump to content
Sign in to follow this  
ZU23

Problem with countSide

Recommended Posts

_aicount = WEST countSide list;
if (_aicount >= 90) exitWith {sleep 1;};
_group = [getMarkerPos "marker_0", WEST, 9] call BIS_fnc_spawnGroup;
[_group, getMarkerPos "marker_0", 1000] call BIS_fnc_taskPatrol;

For some reason I get a problem with countSide, Im trying to make AI spawn dynamically but keep it limited to 90 AIs.

Share this post


Link to post
Share on other sites

The name of your input array to countSide command cannot be list because its reserved to a script command of the same name

 

I hope this helps

Share this post


Link to post
Share on other sites
6 minutes ago, Nikander said:

The name of your input array to countSide command cannot be list because its reserved to a script command of the same name

 

I hope this helps

so what should the script look like?

Share this post


Link to post
Share on other sites
1 minute ago, ZU23 said:

so what should the script look like?

 

So, for example, the first line of you code could look like this

_aicount = west countSide allUnits;

 

  • Like 1

Share this post


Link to post
Share on other sites
13 minutes ago, Nikander said:

 

So, for example, the first line of you code could look like this


_aicount = west countSide allUnits;

 

Thanks it works now

  • Like 1

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  

×