Ok, i am working on my trading post right now and some new problems have occured...
I'm still using the safezone script on klen, but unfortunally zombies spawn at this location since the new update...and as expected the players who are in the safezone cannot kill zeds....but the zeds can kill the players
First i implemented AI with executing DayZ Factions and add_unit_server.sqf to make AI cleaning the area from Zeds, but when AI spawns the Safezone does not work anymore... I think this depends on the new definitions coming up with DayZ factions...
Maybe a zone restriction or Safe zone script-enhancement would fix that problem, but i actually have no idea how to do it.
Is it possible to make a dead zone for the Zeds Faction?
with st like this:
(Player in list Zone); as condition
Player setDamage 1; as action
Which Faction are the Zeds? Can i define a new faction for Zombies?
I also found a script normally used with a hack tool, which makes a Kill-Aura surrounding the player:
Code:
if (isNil "zombieshield") then {zombieshield = true;} else {zombieshield = !zombieshield};
if(zombieshield) then {titleText ["Zombie Spawning deactivated!","PLAIN DOWN"]; titleFadeOut 4;};
while {zombieshield} do {
_pos = getPos player;
_zombies = _pos nearEntities ["zZombie_Base",16000];
_count = count _zombies;
for "_i" from 0 to (_count -1) do
{
_zombie = _zombies select _i;
_zombie setDamage 1;
};
};
titleText ["Zombie Spawning Activated!","PLAIN DOWN"]; titleFadeOut 4;
Can i also execute it to surround a trigger?
What would be the execution command for that trigger?
I am bothering my head about a solution and would be greatful about any idea!
Regards