Jump to content
dragonflyfan

Load and Unload AI via triggers and script rather than Eden waypoints

Recommended Posts

Hi Team,

 

Happy New Year and all, yes it's been a while since I've had a chance to do any ARMA 3 mission building.

 

I'm hoping for some help with scripting to load and unload an AI squad into my helo with triggers rather than Eden waypoints.

 

Currently I am using -  {_x assignAsCargo helo1} foreach units group this; to load the squad into my helo, however I just found an awesome piece that allows me to group my squad -  ALPHA = group this; into the squad leaders Init.

 

I have also since found this - {unassignvehicle _x; _x action ["Eject", vehicle _x]} forEach (units ALPHA); that I have put into a player activated trigger to get the squad out of my helo.

 

Two things I'm looking for guidance on please:

 

- How can I use similar code to - {unassignvehicle _x; _x action ["Eject", vehicle _x]} forEach (units ALPHA); to load ALPHA squad into my helo?

- Once ALPHA squad is out of my helo, what script can I use to give ALPHA a 'seek and destroy' waypoint of a certain radius? 

 

Thanks in advance for your help.

 

Cheers,

 

Jas

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

×