Guest Posted April 25, 2015 Report Share Posted April 25, 2015 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 More sharing options...
Chris9183 Posted April 25, 2015 Report Share Posted April 25, 2015 Thanks UKMartin! Link to comment Share on other sites More sharing options...
Halvhjearne Posted April 25, 2015 Report Share Posted April 25, 2015 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 More sharing options...
nova Posted October 30, 2017 Report Share Posted October 30, 2017 @LunchboxCharlie does this still work for 1061? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now