russin 0 Posted May 12, 2002 i no how to hide markers but how can i hide the grids ? Share this post Link to post Share on other sites
=BFP=Cheetah 0 Posted May 12, 2002 dunno, but how do you hide a marker? i create a marker give it a name : marker1 and then in init.sqs : marker1 setmarkertype "empty" in a trigger i put marker1 setmarkertype "arrow" but this doesn't work for me Share this post Link to post Share on other sites
Spinor 0 Posted May 12, 2002 Use quotes around the markername: "marker1" setmarkertype "empty" @russin What do you mean by hiding the grids? The map grid coordinates? This is AFAIK not possible. Share this post Link to post Share on other sites
KingN 251 Posted May 12, 2002 hey, thanks a lot Spinor! I had a problem too with hiding markers. Share this post Link to post Share on other sites
russin 0 Posted May 12, 2002 i have no problem hiding any markers example: Start" "End" "Pickup" "Marker" "Arrow" "Flag1" "Warning" "Dot" "Join" "Unknown" i want to hide a grid marker (you know big area marker the one where ya pick a grid 200 bye 200 eclipse) Share this post Link to post Share on other sites
Spinor 0 Posted May 12, 2002 Yeah, you are right, it seems that you can´t hide the area markers (or generally speaking, use the SetMarkerType command to change the marker). What you can still do is to move the marker off the map, e.g. "marker1" SetMarkerPos [-1000,-1000,0] or if you want to keep the marker position, you can also resize the marker to zero size: "marker1" SetMarkerSize [0,0] Share this post Link to post Share on other sites
russin 0 Posted May 12, 2002 so how do i make the marker re appear if i move it away ? Share this post Link to post Share on other sites
Spinor 0 Posted May 12, 2002 Simply by moving it to its original position Of course, you have to store the original position somewhere, like origPos = GetMarkerPos "marker1" "marker1" SetMarkerPos [-1000,-1000,0] .... .... "marker1" SetMarkerPos origPos I think using SetMarkerSize is easier. Lets say you want the area marker to be initially hidden. Create the marker you need in the editor and choose both size values = 0. To make it appear during the game, simply use "marker1" SetMarkerSize [200,300] which would give you a 200*300 meter ellipse or rectangle. Share this post Link to post Share on other sites
Chris Death 0 Posted May 13, 2002 Here's how a marker looks like in mission.sqm: (this marker was used to show a movement limiter, not my homebase, just for those who wonder about the settings) class Item3 { position[]={9922.943359,26.730000,3998.871094}; name="deathzoneE"; text="deathzoneE"; markerType="RECTANGLE"; Â Â Â Â Â Â Â Â Â Â Â Â Â type="Flag"; colorName="ColorRedAlpha"; fillName="DiagGrid"; a=20.000000; b=300.000000; While you are talking about changing the: type="Flag", you need to find a way, to change the: markerType="RECTANGLE" I'll give that a try, if i get some time left. ~S~ CD Share this post Link to post Share on other sites