Jump to content
Sign in to follow this  
BullyBoii

AI spawning problem

Recommended Posts

I have had a few problems with trying to

spawn groups of ai in the mission editor

here is the code

_side = createCenter east;
_group = createGroup East;
_group = [getmarkerpos "spawn", EAST, 5] call BIS_fnc_spawnGroup;
exit;

i don't get any units spawning, is there a way around this? or have i done something wrong, i don't get any scripting errors,

any help is appreciated

Share this post


Link to post
Share on other sites

This is a known issue, if you want to use the spawnGroup function you will have to use one of the other two methods found here.

Share this post


Link to post
Share on other sites

ok so having something like this

_side = createCenter east;
_group = createGroup East;
_group = [getmarkerpos "spawn", EAST, (**group config path**)] call BIS_fnc_spawnGroup;
exit;

**or**

_side = createCenter east;
_group = createGroup East;
_group = [getmarkerpos "spawn", EAST, [**[array], [of], [different], [units]**]] call BIS_fnc_spawnGroup;
exit;

will work??

EDIT: Ok thanks for the help, i just ried it out and it works

Edited by BullyBoii

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  

×