Jump to content
Sign in to follow this  
thierry007

Liberation!

Recommended Posts

Im currently Messing with the Editor and i wonder How could i make 6 Independent (NAPA) Riflemen/or militia join my squad after Liberating a Town?

I want to fight Lots of enemies while starting with 3 and getting more men after liberating more villages.. =p

Share this post


Link to post
Share on other sites

Place the 6 units on the map somewhere out of the way. In the Leader's Init field put this:

reinfGrp = group this;

Then in your OPFOR NOT PRESENT liberation trigger put this in it's OnAct field:

hint "You've liberated the town!"; 
{[_x] joinSilent group player; _x setPos getPos player} forEach units reinfGrp;

That will make each unit of the pre-placed group join the player's group and "teleport" to where he is.

Keep in mind, this is the "no scripting" method. A better way would be to create a script that nicely spawns the units as you need them and all that jazz, but this will work. :)

Share this post


Link to post
Share on other sites

Okay =] Im going to test it out With Vysnoye first =p ( i just love that town =D ) i will edit the post for further help and/or f it worked edit i will post/edit it tomorrow defragging atm after figurred out how to do it =p

Edited by thierry007

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  

×