/*
Autor: Flo i.A. www.ruhrpott-life.de
*/
in_safe_1 = false;
in_safe_2 = false;
in_safe_3 = false;
waitUntil {time > 0};
[] spawn
{
while {true} do
{
uiSleep 5;
if (player distance2d [14599.8,16794.6,0] > 175) then
{
if (!in_safe_2 && !in_safe_3) then
{
in_safe_1 = false;
[] call ExileClient_object_player_event_onLeaveSafezone;
};
}else
{
in_safe_1 = true;
[] call ExileClient_object_player_event_onEnterSafezone;
};
};
};
[] spawn
{
while {true} do
{
uiSleep 5;
if (player distance2d [23335.4,24189,0] > 175) then
{
if (!in_safe_1 && !in_safe_3) then
{
in_safe_2 = false;
[] call ExileClient_object_player_event_onLeaveSafezone;
};
}else
{
in_safe_2 = true;
[] call ExileClient_object_player_event_onEnterSafezone;
};
};
};
[] spawn
{
while {true} do
{
uiSleep 5;
if (player distance2d [2999,18173.2,0] > 175) then
{
if (!in_safe_1 && !in_safe_2) then
{
in_safe_3 = false;
[] call ExileClient_object_player_event_onLeaveSafezone;
};
}else
{
in_safe_3 = true;
[] call ExileClient_object_player_event_onEnterSafezone;
};
};
};--> open your mission.sqm in Arma 3 Editor --> delete all trigger --> safe mission and replace it --> then put this script in a file "fps.sqf" --> put it in the same dir with your mission.sqm --> open initplayerlocal.sqf --> [] execVM "fps.sqf";