Jump to content
Sign in to follow this  
JungleBudz

Help with Choppers

Recommended Posts

Ok, I was a trigger to go off when a...

(certain unit is in a helo) AND (the chopper has left the ground)

The problem isn't in the first boolean, I use a simple unit In Vehicle... the problem is in the second part. I can't find a command that would return a boolean. Here is what I found that works.. but I don't know if it's the solution I should be doing.

Basically, I have some barrels beside the chopper. In the condition field of the trigger I use...

(unit In vehicle) && (vehicle distance unit > 15)

This seems to work good determining if the chopper has left with a certain unit in it. Right way, wrong way?

Share this post


Link to post
Share on other sites

(unitName in vehicleName) && ((vehicleName getPos select 2) > 1)

Should test if the chopper has taken off.

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  

×