Jump to content
conz

Make AI squad mount specific vehicle

Recommended Posts

This seems to be an occasional problem but I've not found something that works.

I'm trying to make a few AI squads mount specific vehicles in a convoy.

I can't use get-in/load because then they will only mount the last vehicle.

I can't use a get-in marker on the vehicles because the vehicles don't start at the mount up point and I have loose fireteams that also need to mount.

 

I found this script:

 

 

group1=group this; {_x assignAsCargo tp1} foreach units group1; {_x orderGetIn true} foreach units group1;

 

 

 

But when I put that in a WP a single unit of the squad runs up to the vehicle (tp1 in this case), does -something-  with it and runs back off to its squad which is still standing where it was initially.

Any suggestions on how to accomplish this in the editor ? With Zeus you can just give a mount command but not sure how you can do that with a script.

Share this post


Link to post
Share on other sites

First assign the vehicle(s) to the group, then assign the roles for all units and order them to getIn after you set allowGetIn to true.

And make sure the vehicles are not locked.

Share this post


Link to post
Share on other sites

Give the soldier a name.

Give the truck a name

 

blue1 moveInGunner   truck1

 

 

Every passenger seat is numbered. Instead of move in gunner you can assign him a specific seat or make him the driver or what ever.

 

.

.

 

 

 

 

 

  • Like 1

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

×