Smokki 0 Posted December 24, 2004 I'm making mission where helicopters are evacuating civilians and your job is to defend them. I wan't enemy to spawn imeadately when they dies so it feels like ther's coming lots of them. But how? I don't know how to make AI spawn in single player. Share this post Link to post Share on other sites
Junker 0 Posted December 25, 2004 u need to use the Createunit command or get Spawnmanager2 from OFPEC. Share this post Link to post Share on other sites
Smokki 0 Posted December 26, 2004 Ok. I don't know anything about createunit command how you make that? Share this post Link to post Share on other sites
sanctuary 19 Posted December 26, 2004 A simple example <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"SoldierEB" createUnit [THERE1,TEAMA,"GUY1=this",0.5,"CORPORAL"] -This will spawn an East simple soldier to a location named THERE1 (it can be an object, a game logic etc that you have placed in your mission and named like this..) -This soldier will be a member of a squad named TEAMA (you must have a group called TEAMA in your mission, no soldier can spawn if you don't have a team for them already present) -This soldier will be named GUY1 (so you can give some order to him in triggers or scripts, example " GUY1 move getpos BASE2 " etc ...) -His skill will be at 0.5 (0.0 is a very bad soldier, and 1.0 is the top elite AI charged in superAI setting) -CORPORAL is just the soldier rank. To spawn a simple West Soldier, instead of the "SoldierEB", use "SoldierWB", to spawn a simple Resistance soldier, it is "SoldierGB" Share this post Link to post Share on other sites
Smokki 0 Posted December 26, 2004 Thank you You saved my mission . Share this post Link to post Share on other sites