jgalla5400 Posted July 6, 2014 Report Share Posted July 6, 2014 Hi all, Can someone point me in the right direction for a script that kills Zeds or removes them when they come near your plot pole ? I know it's possible I just can seem to find a script etc to do it :) Thanks in advance for any help Link to comment Share on other sites More sharing options...
0 PetuniaEpoch Posted July 6, 2014 Report Share Posted July 6, 2014 Hey :) Well, there's this: by MadMartyr :) Note: It doesn't seem to kill them, just TP them away. If you want them to die, then edit his script to be like this (full kudos/credit to MadMartyr, I only tweaking one line, the credit is ALL his!) :) NOTE: You still NEED to visit the thead above to add the code to your init.sqf and also to check the battleye kicks ;) //--------------------------------------------------------------------- // Epoch Base Safe Area // By MadMartyr // Modified from generic ZombieShield code by felixberndt and meat // http://opendayz.net/threads/prevent-zombie-spawning.8799/#post-32461 //--------------------------------------------------------------------- while {true} do { sleep 10; // No Zeds near Plot Poles _playerPos = getPos player; _nearPole = nearestObject [_playerPos, "Plastic_Pole_EP1_DZ"]; if (!isNull _nearPole) then { _pos2 = getPos _nearPole; _zombies2 = _pos2 nearEntities ["zZombie_Base", dayz_poleSafeArea]; _count2 = count _zombies2; for "_i" from 0 to (_count2 -1) do { _zombie2 = _zombies2 select _i; _zombie2 setDamage 1; // This kills the Zs deletevehicle _zombie2; // This makes them vanish - keep ya base tidy! }; }; }; Again, do visit this thread and full credit to Mad :) jgalla5400 1 Link to comment Share on other sites More sharing options...
0 jgalla5400 Posted July 6, 2014 Author Report Share Posted July 6, 2014 Perfect :)Thanks so much ! Link to comment Share on other sites More sharing options...
0 PetuniaEpoch Posted July 6, 2014 Report Share Posted July 6, 2014 Perfect :) Thanks so much ! No worries :) Note: I edited my post - I wrote "add this script to your init sqf" - I MEANT to say, add the tags to your init sqf (detailed in the original post for the mod, by mad) :D (was typing in a rush, lol) Good luck :) Link to comment Share on other sites More sharing options...
0 jgalla5400 Posted July 6, 2014 Author Report Share Posted July 6, 2014 All in and working Zeds are now subjected to teleportation :) Link to comment Share on other sites More sharing options...
Question
jgalla5400
Hi all,
Can someone point me in the right direction for a script that kills Zeds or removes them when they come near your plot pole ?
I know it's possible I just can seem to find a script etc to do it :)
Thanks in advance for any help
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now