Bandits raid on Safezone

Krzysiekgru

New Member
Hi!

Got problem with bandit band raiding my safezone and scaring players sometimes they shoot people but as safezone script works players cannot kill them so I`m trying to kill them when they approach safezone but somehow it doesn`t work.

I`ve created trigger around safezone
Code:
class Item3
            {
                position[]={6577.4053,, 8463.8857};
                a=600;
                b=600;
                activationBy="ANY";
                repeating=1;
                interruptable=1;
                age="UNKNOWN";
                text="bandit_shield";
                name="bandit_shield";
                expActiv="execVM ""scripts\bandit_shield.sqf"";";
                class Effects{ };
            };

and bandit_shield.sqf

Code:
if
(side _unit == east) then {
    _unit setDamage 1;
};

Can anyone help me with this script working as I`m preety fresh with scripting....
 
I would find the AI grid of the safe zone for your map and remove all bandits from it in your grps file
addons\SARGE\map_config
In the grps file you can also spawn static guards that will shoot any bandits.
 
Back
Top