Jump to content
Sign in to follow this  
hellfish6

Units in helicopter?

Recommended Posts

Hey guys

This should be really easy, but I'm having trouble making a script that detects if a group has entered a helicopter.

Basically, what I want to do is that when the group enters the helicopter, a radio message is sent, an objective is checked off and add to the player's score.

Any ideas?

Share this post


Link to post
Share on other sites

How about a trigger:

count crew h1==(whatever)

Share this post


Link to post
Share on other sites

I did use the search feature. I got 75 topics, none of which had anything to do with what I was looking for. tounge_o.gif

Share this post


Link to post
Share on other sites

count crew heloname == (("alive _x") count units groupname) + 2

The + 2 accounts for the pilot and gunner that are already aboard. If all you have is a pilot then change it to 1. Only limitation to this, is if the pilot or gunner is killed the trigger may not fire properly, but it's never happened to me. No script is necessary for this.

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  

×