ZU23 2 Posted May 25, 2017 _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
Nikander 123 Posted May 25, 2017 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
ZU23 2 Posted May 25, 2017 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
Nikander 123 Posted May 25, 2017 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; 1 Share this post Link to post Share on other sites
ZU23 2 Posted May 25, 2017 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 1 Share this post Link to post Share on other sites