russin 0 Posted April 10, 2002 i wanted a secret mission if a certain obj is done but i want to hide the markers how might i do this ? Share this post Link to post Share on other sites
Bart.Jan 0 Posted April 10, 2002 Try to move markers to some position (setMarketPos) that is not visible on map - out of border. I didn't try this. Share this post Link to post Share on other sites
russin 0 Posted April 10, 2002 i don't know what ya mean man ?? Share this post Link to post Share on other sites
Bart.Jan 0 Posted April 10, 2002 1) place markers to map where you want them. 2) find their position by radio trigger with on activation : hint format["%1",getMarkerPos "triggerName"] write down first two numbers - it's the position of marker 3) in init script file (init.sqs) or somewhere in init line set positions of your markers to 0,0 "triggerName" setMarkerPos [0,0] This command moves markers to position that is not visible on map. 4)If you activate secret misson set positions of markers by command : "triggerName" setMarkerPos [your 2 numbers] Share this post Link to post Share on other sites
Intruder 0 Posted April 10, 2002 This is something I posted over at the UK Forums in the FAQ How to Update Mission Plans for Breifings Init.sqs file - Make a notepad file and rename the .txt file to init.sqs. This file will set the initial conditions of your missions. You can use many commands in it. Say we want the second objective to appear once a trigger is activated, and we want a marker to appear too. If we wanted our 2nd ("0" is first) objective to be hidden at the initial briefing, use this code in a file called init.sqs located in your mission folder: "1" ObjStatus "HIDDEN" and there will be no objective one shown at startup. Suppose we want the objective to become visible part way through the mission. We could use the following command in the activation field of a trigger: "1" ObjStatus "ACTIVE" The same with markers (make the markers in the editor and name them "markername1"), in the init.sqs file type: "markername1" SetMarkerType "Empty" And then to display the marker we would use the following line in the same trigger activation field as "1" ObjStatus "ACTIVE": "markername" SetMarkerType "Destroy" Marker types: "Start" "End" "Pickup" "Marker" "Arrow" "Flag1" "Warning" "Dot" "Join" "Unknown" This will set the marker to empty (invisible), and set it to a destroy marker when the trigger is activated. So your init.sqs file will look like this "1" ObjStatus "HIDDEN" "markername1" SetMarkerType "Empty" Which will set the initial conditions. Share this post Link to post Share on other sites