Jump to content
Sign in to follow this  
Lucky44

Making 'minefield' triggers

Recommended Posts

I'm trying to simulate land mines. And I want to fine tune my minefield so that it will not affect aircraft in the air, but it will go off on infantry and ground vehicles. Right now it's still activated by flying vehicles. I'm stuck on the logic and syntax, it seems...must be close though!

Here's what I've got: trigger is activated by BluFor Present, repeating.

In the Condition box, I am putting:

this && ((getPos (vehicle player) select 2) <= 1);

And then I'm calling the script that activates the explosions in the On Act. box. Works fine except for aircraft issues! Any suggestions?

Share this post


Link to post
Share on other sites

Try this for your trigger...

this && ((getpos (thislist select 0)) select 2 <=1);

Share this post


Link to post
Share on other sites

Cheers all. I used twirly's simple version, but the isKindOf "LAND" idea is good to keep in mind too.

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  

×