Jump to content
Sign in to follow this  
dufalator

How do you group unassigned Soldiers to you unit in game?

Recommended Posts

Hello,

I am thinking about creating a single player mission where I have a team of soldiers that is tasked with rescuing a downed pilot. The problem, is that once I find the pilot, I dont know how to get him under my command. I have no way to control him (Make follow, command to get in helicopter.......)

 

Does anybody know how I would do this?

Share this post


Link to post
Share on other sites

You can use waypoints, join and lead is the one you're looking for

Share this post


Link to post
Share on other sites

put in the object init box of your unit (rescue pilot)>>                       this addaction ["Join.Player","unit = _this select 0,_this join group player, unit removeAction 0"];

 

You have now an action on this unit by ;))))

  • Like 1

Share this post


Link to post
Share on other sites

Ok,

Thanks. So just to make sure, what I need to do, is add this information to the units in the editor. 

 

I am supposed to:

1) type in the words "rescue pilot" into the object init of my unit?

2) For the pilot unit I type in " ["Join.Player","unit = _this select 0,_this join group player, unit removeAction 0"]; " to the init box of the pilot?

  • Like 1

Share this post


Link to post
Share on other sites

1) yes you can change  start here into unit init the box>>  this addaction ["Rescue Pilot","unit = _this select 0,_this join group player, unit removeAction 0"]; 

1*) into the first " "     // "you can write anything to read on the IA" , Don 't forget write this addaction before for the script.

2) yes you input  to the init box of the pilot.

 

by ;)))))

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  

×