Forum Jump :

Author Message


Posts: 5
Rank:


Level: Member

Country: 00
Location:
Occupation:
Age:
In-game name: Minerfcod

 
#1 Posted at 2016-08-31 15:40        
     
Hi all,
I'm currently trying to make a functional AI base in Arma III but I've only just got the game and aren't very experienced. I've had a play around but still can't get one thing in particular to work. What I want to do is to have some infantry troops enter a vehicle (already with a driver inside) and then have that vehicle drive to a town I've picked. Instead what keeps happening is the vehicle drives to the waypoint I've set it before the troops have enough time to get in. Anyone know a solution?
Thanks

This post was edited by Minerfcod (2016-08-31 20:28, 473 days ago)


Author Message


Posts: 1589
Rank:


Level: Member

Country: pf
Location: Tahiti
Occupation: too many Arma
Age: 57
In-game name: Kobayashi Maru

 
#2 Posted at 2016-08-31 17:05        
     
Yes, with the method of 2 sync wpts (GET IN & LOAD), each time a leader jumps into the vehicle, this one starts without waiting all the group.

You can add a code to complete a waypoint, in waypoint expression / condition.
You have to define your array of boarding units, say: units ALPHA (ALPHA is your group), or any array of units: [blu1,blu2..].
then, the condition to complete the waypoint:
{_x in myCar} count units ALPHA == count units ALPHA
in the condition field of the LOAD wpt of the vehicle.

Note: this code is sufficient for any kind of wpt. You can add it in a simple MOVE of your vehicle, and then you don't need any wpt for your player's group. The vehicle will stop as well at this MOVE wpt and wait for the group.

PLEASE CONTACT ME ON BI FORUMS FOR ANY SCRIPT / MOD QUESTION. TKS

Advertisement


Author Message


Posts: 5
Rank:


Level: Member

Country: 00
Location:
Occupation:
Age:
In-game name: Minerfcod

 
#3 Posted at 2016-08-31 20:26        
     
# Pierre MGI : Yes, with the method of 2 sync wpts (GET IN & LOAD), each time a leader jumps into the vehicle, this one starts without waiting all the group.

You can add a code to complete a waypoint, in waypoint expression / condition.
You have to define your array of boarding units, say: units ALPHA (ALPHA is your group), or any array of units: [blu1,blu2..].
then, the condition to complete the waypoint:
{_x in myCar} count units ALPHA == count units ALPHA
in the condition field of the LOAD wpt of the vehicle.

Note: this code is sufficient for any kind of wpt. You can add it in a simple MOVE of your vehicle, and then you don't need any wpt for your player's group. The vehicle will stop as well at this MOVE wpt and wait for the group.
This helped a lot, Thanks.