Jump to content
Sign in to follow this  
Basxt

isTouchingGround help needed.

Recommended Posts

Hi all!

I'm making this mission where I need to check if a helicopter has been landed on the given spot. A normal trigger would go off even if it's hovering over it.

So I named the helicopter "heli" and put this in my trigger on act field: isTouchingGround Heli;

Now for some reason it triggers instantly.. anyone knows what the problem is?

Also is there any way to let's say you place 5 Blufor members and want a trigger to trigger when they have entered the helicopter.

Thanks. :D

Share this post


Link to post
Share on other sites

The on Activation field is the code you want to execute when the trigger is triggered... what you want is to put your condition in the condition field. it will already say something like "this" in it, which means the other trigger conditions like side, presence etc. So you will need something like

"this && isTouchingGround heli"

Share this post


Link to post
Share on other sites

This is the trigger condition I use to check the player is in vehicle and not on foot, AND is within 1m off the ground.

((vehicle player) in thislist) && (vehicle player !=player) &&((getpos (vehicle player) select 2) < 1);

The reason being, some areas of the map "isTouchingGround" doesn't work. This is because I assume it's still in Beta and parts of the map, specifically the airfield are not identified as land.

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
Sign in to follow this  

×