Jump to content
  • 0

Help with Marker and Triggers


Cubitron

Question

Hello all how can i add multiple Markers ? only the first will show on the Map
and how works the trigger in Epoch?

I want to call it in a .sqf

 

_this = createMarker ["PVP", [8747.4688, 2400.769, 0]];


_this setMarkerText "PVP";
_this setMarkerShape "RECTANGLE";
_this setMarkerType "Empty";
_this setMarkerBrush "DiagGrid";
_this setMarkerSize [425, 600];
_marker_0 = _this;



_this = createMarker ["PVP", [4676.8232, 7945.9131, 0]];
_this setMarkerText "PVP";
_this setMarkerShape "RECTANGLE";
_this setMarkerType "Empty";
_this setMarkerBrush "DiagGrid";
_this setMarkerSize [500, 500];
_marker_1 = _this;



_this = createMarker ["PVP", [813.08435, 9326.7227, 0]];
_this setMarkerText "PVP";
_this setMarkerShape "RECTANGLE";
_this setMarkerType "Empty";
_this setMarkerBrush "DiagGrid";
_this setMarkerSize [600, 400];
_marker_2 = _this;

 

_this = createTrigger ["EmptyDetector", [8751.0381, 2385.002, 0]];


_this setTriggerArea [425, 600, 0, true];
_this setTriggerActivation ["EAST", "PRESENT", true];
_this setTriggerStatements ["{_x == player} count thisList > 0;", "", ""];
_this setSoundEffect ["Alarm", "", "", ""];
_this setTitleEffect ["TEXT", "PLAIN DOWN", "You enter a PVP-ZONE"];
_trigger_0 = _this;





_this = createTrigger ["EmptyDetector", [4677.1943, 7943.4648]];
_this setTriggerArea [500, 500, 0, true];
_this setTriggerActivation ["ANY", "PRESENT", true];
_this setTriggerStatements ["{_x == player} count thisList > 0;", "", ""];
_this setSoundEffect ["Alarm", "", "", ""];
_this setTitleEffect ["TEXT", "PLAIN DOWN", "you enter a PVP-ZONE"];
_trigger_1 = _this;





_this = createTrigger ["EmptyDetector", [814.10468, 9328.0635]];
_this setTriggerArea [600, 400, 0, true];
_this setTriggerActivation ["ANY", "PRESENT", true];
_this setTriggerStatements ["{_x == player} count thisList > 0;", "", ""];
_this setSoundEffect ["Alarm", "", "", ""];
_this setTitleEffect ["TEXT", "PLAIN DOWN", "you enter a PVP-ZONE"];
_trigger_2 = _this;

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...