etrex2k4 0 Report post Posted October 14, 2015 (edited) /* 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"; Edited October 14, 2015 by etrex2k4 Share this post Link to post Share on other sites
etrex2k4 0 Report post Posted October 14, 2015 we have only 3 Safezones on our Altis Exile Server Share this post Link to post Share on other sites
BetterDeadThanZed 1006 Report post Posted October 14, 2015 No description of what this does or install instructions? Share this post Link to post Share on other sites
nark0t1k 40 Report post Posted October 14, 2015 How 3 while{true} can be better than 1 ? Share this post Link to post Share on other sites
etrex2k4 0 Report post Posted October 14, 2015 (edited) trigger runs serverside and clientside (oneachframe), but you only need clientside safezones Edited October 14, 2015 by etrex2k4 Share this post Link to post Share on other sites
AimRabbit 4 Report post Posted October 14, 2015 (edited) Thats not true... you need the sensors for more than only the savezone.. the ai systems get them to stay away. Edited October 14, 2015 by AimRabbit Share this post Link to post Share on other sites
S. 364 Report post Posted October 14, 2015 I would like a clear explanation of what this does. 1 Share this post Link to post Share on other sites
etrex2k4 0 Report post Posted October 14, 2015 (edited) In Exile, the SafeZone is activated by a trigger. This is the trigger in the mission.sqm, this is triggered on the server, not just the client.So you should remove the trigger in the mission.sqm.I just built only a mini script what the Safe Zones enabled via a script. Only Client Side Edited October 14, 2015 by etrex2k4 Share this post Link to post Share on other sites
DEADPOOL_ZA 17 Report post Posted October 16, 2015 What trigger file or info must be deleted can some1 show us i cant find a trigger in my mission file or is it under something else or being called something else Share this post Link to post Share on other sites
Defent 244 Report post Posted October 16, 2015 The trigger is what defines the blue circle for the safezone. For example: class Sensors { items = 3; class Item0 { position[]={6330.98, 0, 7800.99}; //Stary a = 175; b = 175; rectangular = 1; activationBy = "ANY"; repeating = 1; interruptable = 1; age = "UNKNOWN"; name = "ExileTrader"; expCond = "(vehicle player) in thisList"; expActiv = "call ExileClient_object_player_event_onEnterSafezone"; expDesactiv = "call ExileClient_object_player_event_onLeaveSafezone"; class Effects{}; }; Removing this will indeed mess with mission systems that detect safezones because they search for the trigger or sensor named "ExileTrader". Moreover, this script that you posted spawns 4(?) threads, why? You don't need it to do that, if you're working on getting a performance increase and FPS increase I suggest you may want to rework it slightly. I would like to see a detailed report on the differences in using triggers VS constantly checking the distance like this. I'm not sure the difference is that large tbh. Altough, kudos for doing a work around if it works 2 Share this post Link to post Share on other sites