AdirB 18 Posted July 17, 2016 i want to mark a trigger border in my mission map i can do it?(mp) Share this post Link to post Share on other sites
theend3r 83 Posted July 17, 2016 Sure, get the trigger shape with (https://community.bistudio.com/wiki/triggerArea) and the create the marker. E.g.: _trigger = _this select 0; _MarkerName = _this select 1; _area = triggerArea _trigger; _marker = createMarker [_MarkerName, position _trigger]; _MarkerName setMarkerSize [_area select 0, _area select 1]; if (_area select 3) then {_MarkerName setMarkerShape "RECTANGLE"} else {_MarkerName setMarkerShape "ELLIPSE"}; _MarkerName setMarkerDir _area select 2; //_MarkerName setMarkerColor "ColorBlue"; or someting https://community.bistudio.com/wiki/setMarkerColor //_MarkerName setMarkerText "Some text"; Save it as markerDraw.sqf and call it by using _nul = [nameOfTrigger, "SomeName"] execVM "markerDraw.sqf". Share this post Link to post Share on other sites
Larrow 2823 Posted July 17, 2016 _mrk = [ "mytrigMrk", myTrigger ] call BIS_fnc_markerToTrigger; _mrk setMarkerBrush "Border"; Where myTrigger is the name given to the trigger in Eden and "mytrigMrk" is the name of the marker to create. The function returns the created marker. Share this post Link to post Share on other sites
kylania 568 Posted July 17, 2016 markerToTrigger; Those functions are totally named wrong/backwards. Should have been triggerToMarker or markerFromTrigger... Slightly confusing. Share this post Link to post Share on other sites
Larrow 2823 Posted July 17, 2016 I dont know, makes sense once you know they are there. I want to change a MARKER TO a TRIGGERs dimensions. BIS_fnc_markerToTrigger I want to change a TRIGGER TO a MARKERs dimensions. BIS_fnc_triggerToMarker Share this post Link to post Share on other sites
AdirB 18 Posted July 18, 2016 _mrk = [ "mytrigMrk", myTrigger ] call BIS_fnc_markerToTrigger; _mrk setMarkerBrush "Border";Where myTrigger is the name given to the trigger in Eden and "mytrigMrk" is the name of the marker to create. The function returns the created marker. thanks Share this post Link to post Share on other sites