Jump to content
Sign in to follow this  
shadow

One unit assignasgunner in all helis

Recommended Posts

I want to give one certain unit the ability to only board as gunner and cargo in all choppers in a mission. Preferably this should only go for west-choppers and not east.

The reason is that I have a 4-player coop where the blackops (3) should not be allowed to fly west-choppers, thats the pilot's job (4th player). But the blackops should be allowed to fly enemy choppers.

I got this working for one chopper, but there are like 15-20 west-choppers in this mission and making a trigger for each each unit for each chopper is too much confused.gif

Can I use the "typeof" command here (not sure what it does and how I use it) ?

Thanks in advance smile.gif

Share this post


Link to post
Share on other sites

Tactician did this in a few of his missions. Contact him at LiveAlienCorpse, that's his AIM. See if you can get how he did it.

Share this post


Link to post
Share on other sites

You could just set up a recursively trigger that would run a 'checking script'. This would run say every 1 secs.

The script should contain an evaluation of how far one is from any chopper, and what kind of unit one is playing, thus determining if one can ectually enter the chopper (use assignasxxx 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  

×