FANDOM


Safe zones prevent zombies and AI units (ie bandits) from spawning. This allows you to create a safe starting point or make an area suitable for a base.
Trigger

First of all, place a trigger over the area you want to be protected.

Trigger Setup

Then fill in the trigger properties like so.

You also need to add two sqf files to let player know he is entering and leaving the Safe Zone

EnterSZ.sqf

if (isDedicated) exitWith {};
waitUntil {!isNull player};
waitUntil {!isNil "playerSpawning" && {!playerSpawning}};
 _title  = "<t color='#FFFFFF' size='1.2' align='center'>Safe Zone </t><br />";
 _name = format ["%1<br /> ",name player];    
_text = "<t color='#00ff00' shadow='1' shadowColor='#000000' align='center'>You are entering the Safe Zone</t><br />";
 hint parsetext (_title +  _name +  _text);
 playsound "Topic_Done";

LeaveSZ.sqf

_title  = "<t color='#00ff00' size='1.2' align='center'>Safe Zone </t><br />";
_name = format ["%1<br /> ",name player];    
_text = "<t color='#ff0000' shadow='1' shadowColor='#000000' align='center'>You are leaving the Safe Zone!</t><br />";    
hint parsetext (_title +  _name +  _text);
playsound "Topic_Done";

Code and images courtesy of (ie stolen from) .Frankie.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.