Forum Jump :

Author Message

paga  



Posts: 41
Rank:


Level: Member

Country: hu
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2015-02-28 17:47        
     
Hi!

I'm making a mission in which you have to land planes and park them in the hangars of the arifield Altis.
I know how to make a task but the triggers activates when I'm flying over it and a i want it actve when the plane parks on the ground in the trigger area level 0 in a hangar.

Thanks for help


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 2015-02-28 22:05        
     
add a condition like ((getposatl _your_plane select 2) < 10) I suggest 10 m above terrain as a low altitude to trigger your action.

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

Advertisement


Author Message

paga  



Posts: 41
Rank:


Level: Member

Country: hu
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2015-03-01 10:08        
     
# Pierre MGI : add a condition like ((getposatl _your_plane select 2) < 10) I suggest 10 m above terrain as a low altitude to trigger your action.

If i add for example ((getposatl plane1 select 1) < 10) && ((getposatl plane2 select 2) < 10) it will work? I want the trigger activates when both of the planes are in the ground in trigger area.


Author Message


Posts: 1189
Rank:


Level: Member

Country: tr
Location:
Occupation: Computer Science student
Age: 20
In-game name: Wak

 
#4 Posted at 2015-03-01 13:07        
     
[plane1,plane2] isEqualTo ([plane1,plane2] unitsBelowHeight 10)

This should also do the trick. If plane1 and plane2 are both below 10 meters ATL, it will trigger.

This post was edited by 654wak654 (2015-03-01 13:48, 967 days ago)

Sometimes I like to think as I started the whole "earplugs" thing.

W0lle: The only advice I can give you is: Do not try to understand BI. You will not succeed and it only makes your brain go boom. I would even go so far and say that not even they understand their own actions :-D.

#define getDamage getDammage





Tags: Land, Plane, Task, Trigger