Jump to content
Sign in to follow this  
Impavido

Artillery denial zone

Recommended Posts

Is there a way to detect and delete an artillery or mortar shell?

Is it similar syntax as the vehicle class names etc, so "deletevehicle" will work on it?

What I would like to do is deny the player from firing on a certain area.

Share this post


Link to post
Share on other sites

Or can someone at least help me narrow down the class/name of the shell?

Share this post


Link to post
Share on other sites

Those won't be the shells for non arty module artillery. If they are arty module artillery you could try something along the lines of.

while {true} do
       {
               deleteVehicle (_x select 0);
       } forEach BIS_ARTY_F_ShellsInRadius [markerPos "DenialZone", (markerSize "DenialZone" select 0)];
       sleep 1;
};

Edited by _pingu

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  

×