Jump to content
  • 0

Arma 2 overpoch - safe zone for just main traders (stary,bash,Klen)


Fallen_Donkey

Question

Hi Guys, 

 

im trying to set up a server and I’m having issues getting safe zones working just for the main traders. All the scripts I’ve found including and Infinistar one I’ve tried to get going just for the main traders with the beacons and message telling that god mode is enabled and I’m either not getting a safe zone working or one for all traders including bandit and hero. 

 

Anyone got got a script for just the main traders?

 

thanks in advance

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
5 hours ago, Fallen_Donkey said:

Hi Guys, 

 

im trying to set up a server and I’m having issues getting safe zones working just for the main traders. All the scripts I’ve found including and Infinistar one I’ve tried to get going just for the main traders with the beacons and message telling that god mode is enabled and I’m either not getting a safe zone working or one for all traders including bandit and hero. 

 

Anyone got got a script for just the main traders?

 

thanks in advance

Just edit in Init.sqf in mission folder:

DZE_SafeZonePosArray = [[[6325,7807,0],100],[[4063,11664,0],100],[[11447,11364,0],100],[[1606,7803,0],100],[[12944,12766,0],100],[[12060,12638,0],100]];

to

DZE_SafeZonePosArray = [[[6325,7807,0],100],[[4063,11664,0],100],[[11447,11364,0],100]];

In mission.sqm delete (or comment) these lines:

		class Item3
		{
			position[]={1606,289,7803};
			TRGDEF
			name="zonebandit";
			expCond="(player distance zonebandit) < 100;";
			expActiv="[""Bandit Trader"",false,""enter""] call player_traderCity;";
			expDesactiv="[""Bandit Trader"",false,""leave""] call player_traderCity;";
		};
		class Item4
		{
			position[]={12944,210,12766};
			TRGDEF
			name="zonehero";
			expCond="(player distance zonehero) < 100;";
			expActiv="[""Hero Trader"",false,""enter""] call player_traderCity;";
			expDesactiv="[""Hero Trader"",false,""leave""] call player_traderCity;";
		};
		class Item5
		{
			position[]={12060,158,12638};
			TRGDEF
			name="zoneaircraft";
			expCond="(player distance zoneaircraft) < 100;";
			expActiv="[""Aircraft Trader"",false,""enter""] call player_traderCity;";
			expDesactiv="[""Aircraft Trader"",false,""leave""] call player_traderCity;";
		};

and edit these lines:

	class Sensors
	{
		items=6;

to

	class Sensors
	{
		items=3;

It should be working.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...