Jump to content

[Release] Safezone AI shield.


Recommended Posts

This should do it to:

private ["_pos","_range"];

//_pos = [123,456,789];

_pos = getMarkerPos "MarkerName";

_range = 1000;

{

if(!(isAgent _x)) then {

deletevehicle _x;

};

} count (_pos nearEntities ["CaManBase", "Man", "zZombie_base", _range]);

Link to comment
Share on other sites

This should do it to:

private ["_pos","_range"];

//_pos = [123,456,789];

_pos = getMarkerPos "MarkerName";

_range = 1000;

{

if(!(isAgent _x)) then {

deletevehicle _x;

};

} count (_pos nearEntities ["CaManBase", "Man", "zZombie_base", _range]);

 

first off, i dont think thats how isagent works, second you need to loop it so it continues to do this as long as the player is in the safezone, third you only need to search for "zZombie_base" last but not least all zeds are agents!

Link to comment
Share on other sites

  • 2 years later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...