Jump to content
Sign in to follow this  
bohemi

To add some units to my group

Recommended Posts

How can I get another group of soldiers to my group when I've lost (during battle) 6 members of my own group?

Thanks any comments

Share this post


Link to post
Share on other sites

trigger condition: count units player < 7 && time%1>.5 && call{{if(!alive _x)then{[_x] join grpNull}}foreach units player;true}

onActivation: reinf join player; {if(_x in units player)then{reinf=reinf-[_x]}}foreach reinf

Init line for each reinforcement group leader:

reinf=(if(format["%1",count reinf]=="scalar")then{[]}else{reinf})+units this

Set the trigger to activate repeatedly and copy-paste as many reinforcement squads as you want.

(I realize this looks like the douchiest possible way to do a simple thing, but believe me it's all there for a reason :D)

Edited by Pulverizer

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  

×