Forum Jump :

Author Message


Posts: 4
Rank:


Level: Member

Country: us
Location: New Hampshire
Occupation:
Age: 23
In-game name: Ikaros34

 
#1 Posted at 2012-09-15 17:39        
     
Help! Im working on part of a mission where i want an ai helicopter to land, then an ai USMC group to get out of the MTVR and into the helicopter (if still aive).
I have the helicopter to land but i dont want it to take off until all members of the group (if alive) are in the helicopter. I used this code that i found -> ((!alive unit1) OR (unit1 in helicopter)) AND ((!alive unit2) OR (unit2 in helicopter)) AND ((!alive unit3) OR (unit3 in helicopter)) AND ((!alive unit4) OR unit4 in helicopter) AND ((!alive unit5) OR (unit5 in helicopter)) AND ((!alive unit6) OR (unit6 in helicopter)) AND ((!alive unit7) OR (unit7 in helicopter)) AND ((!alive unit8) OR (unit8 in helicopter));
I made sure the units names are unit1, unit2, unit3, etc. But no matter what i've tried i keep getting the Type Bool, Expected Nothing error and it wont work. Help!? Anyone??


Author Message

W0lle  

call me evil


Posts: 1944
Rank:


Country: de
Location:
Occupation: CWR² Project Lead
Age: 101
In-game name:

 
#2 Posted at 2012-09-15 18:19        
     
Give the truck an unload waypoint where the guys are thrown out. The helicopter you give a waypoint directly in front of it and then you sync the unload WP with the helos WP - the helo then only moves when the truck arrived at the unload WP.

Next you give the helo a "load waypoint" where the guys shall be picked up. And the guys you give a "get in" waypoint which you sync with the helo's load WP.

And finally a WP for the helo again where he shall move after the pickup.

No need for any conditions at all.


Advertisement


Author Message


Posts: 612
Rank:


Level: Member

Country: au
Location: Perth
Occupation: Arma Addict
Age: 20
In-game name: BroBeans

 
#3 Posted at 2012-09-22 16:27        
     
check this out, im guessing you havent put ((alive blah blah) in the condition of the waypoint, you most probably put it in the 'on act' field, if this fixed your problem let me know


Author Message

palyarmerc  

I live inside the editor


Posts: 753
Rank:


Level: Member

Country: uk
Location:
Occupation: *Retired from ArmA*
Age:
In-game name: Paly

 
#4 Posted at 2012-09-22 16:53        
     
# SupaCoopa94 :
ve unit4) OR unit4 in helicopter) AND

Possible error ?

....that's all folks....!