Jump to content
Sign in to follow this  
Dimrose

Artillery Protection zones?

Recommended Posts

Has anyone seen or know of a way to prevent a player from firing at a specific part of the map when they use the artillery computer from a artillery vehicle or mortar?

Share this post


Link to post
Share on other sites

I agree with sarogahtyp, except that inArea would also catch bullets flying over the area. So a simple distance from center check would be better.
Also, is deleting the bullet really enough? Why not return it to the sender?

_projectile setVelocity (velocity _projectile vectorMultiply -1.01);

:icon_twisted:

  • Like 2

Share this post


Link to post
Share on other sites

Isn't there some kind of friendly fire safety zone function?  Maybe adapt that?

 

Actually, no!  Greenfist's return-to-sender idea is clearly the best way to approach this!

Share this post


Link to post
Share on other sites

Thanks! Think I will make options for both. One to prevent a task from being too easy and the other for dealing with the TKers firing at base.

Appreciate the quick response!

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  

×