igame360 12 Posted June 16, 2015 If this thread was posted in the wrong section. Please let me know. I'm knew to the mission creating, well I've dicked with it before. But nothing made it across the finish line. But I'm trying to create an open world type mission like Far Cry 4, how all of your objectives were laid out. I got the strategic map modules laid out. But what I wanted to know is. Can I make it so there are no tasks on the map screen. But when you you enter the strategic map and click on a mission. All of your objectives and such are there. And once you've completed/failed. They disappear from the Strategic map. Hope this all makes sense. Share this post Link to post Share on other sites
igame360 12 Posted June 25, 2015 Bump, someone help me. Share this post Link to post Share on other sites
IndeedPete 1038 Posted June 25, 2015 BIS_fnc_strategicMapOpen seems to be what you're looking for. Share this post Link to post Share on other sites
R3vo 2654 Posted June 25, 2015 (edited) [color="#FF8040"][color="#006400"][i]/* Author: Revo Description: Creates a Strategic Map Call via addAction like this: _unit addAction ["Strategic Map","openStrategicMap.sqf",[_viewPos,_viewNight,_overcast]]; Parameter(s): 0: _target -> addAction 1: _caller -> addAction 2: _action -> addAction's id 3: ARRAY - default view position in format [x,y,y] or [x,y] 4: BOOL - true for night version of strategic map (darker with blue tone) 5: NUMBER - value in range <0-1> defining weather on strategic map (i.e. density of clouds). If not defined, 0 is used. Returns: - */[/i][/color] [color="#000000"]_target[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#191970"][b]param[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#000000"]objNull[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_caller[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#191970"][b]param[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color][color="#000000"]player[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_action[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#191970"][b]param[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]2[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_viewPos[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]([/b][/color][color="#000000"]_this[/color] [color="#191970"][b]select[/b][/color] [color="#FF0000"]3[/color][color="#8B3E2F"][b])[/b][/color] [color="#191970"][b]param[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_viewNight[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]([/b][/color][color="#000000"]_this[/color] [color="#191970"][b]select[/b][/color] [color="#FF0000"]3[/color][color="#8B3E2F"][b])[/b][/color] [color="#191970"][b]param[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color][color="#000000"]false[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_overcast[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b]([/b][/color][color="#000000"]_this[/color] [color="#191970"][b]select[/b][/color] [color="#FF0000"]3[/color][color="#8B3E2F"][b])[/b][/color] [color="#191970"][b]param[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]2[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#006400"][i]/*Mission examples 0: ARRAY - mission position in format [x,y,y] or [x,y] 1: CODE - expression executed when user clicks on mission icon 2: STRING - mission name 3: STRING - short description 4: STRING - name of mission's player 5: STRING - path to overview image 6: NUMBER - size multiplier, 1 means default size 7: ARRAY - parameters for the -on click- code; referenced from the script as (_this select 9) */[/i][/color] [color="#1874CD"]_m1[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]1894[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]5741[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b]{[/b][/color][color="#000000"]player[/color] [color="#191970"][b]setPos[/b][/color] [color="#191970"][b]param[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Airfield"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Move to Airfield"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"player"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"images\exampleImage.jpg"[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_m2[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]2458[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]5660[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b]{[/b][/color][color="#000000"]player[/color] [color="#191970"][b]setPos[/b][/color] [color="#191970"][b]param[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"FOB"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Move to FOB"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"player"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]""[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_m3[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]6472[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]5367[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b]{[/b][/color][color="#000000"]player[/color] [color="#191970"][b]setPos[/b][/color] [color="#191970"][b]param[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Kamino Firing Range"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Move to Kamino"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"player"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]""[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_m4[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]2982[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]1876[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b]{[/b][/color][color="#000000"]player[/color] [color="#191970"][b]setPos[/b][/color] [color="#191970"][b]param[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"LZ Connor"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Move to LZ Connor"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"player"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]""[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_m5[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]3291[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]2928[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b]{[/b][/color][color="#000000"]player[/color] [color="#191970"][b]setPos[/b][/color] [color="#191970"][b]param[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Camp Maxwell"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Move to Camp Maxwell"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"player"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]""[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_m6[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]4331[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]3852[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b]{[/b][/color][color="#000000"]player[/color] [color="#191970"][b]setPos[/b][/color] [color="#191970"][b]param[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Air Station Mike-26"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Move to Air Station Mike-26"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"player"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]""[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_m7[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]5023[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]5905[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b]{[/b][/color][color="#000000"]player[/color] [color="#191970"][b]setPos[/b][/color] [color="#191970"][b]param[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Camp Rogain"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Move to Camp Rogain"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"player"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]""[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_m8[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]2026[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]3554[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b]{[/b][/color][color="#000000"]player[/color] [color="#191970"][b]setPos[/b][/color] [color="#191970"][b]param[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Camp Tempest"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Move to Camp Tempest"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"player"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]""[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_m9[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]4488[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]6786[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b]{[/b][/color][color="#000000"]player[/color] [color="#191970"][b]setPos[/b][/color] [color="#191970"][b]param[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Kill Farm"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Move to Kill Farm"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"player"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]""[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_m10[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]2623[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]611[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color] [color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b]{[/b][/color][color="#000000"]player[/color] [color="#191970"][b]setPos[/b][/color] [color="#191970"][b]param[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color][color="#8B3E2F"][b]}[/b][/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"The Spartan"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Move to The Spartan"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"player"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]""[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#006400"][i]/*Marker examples ARRAY - list of markers revealed in strategic map (will be hidden when map is closed) */[/i][/color] [color="#1874CD"]_marker1[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#7A7A7A"]""[/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_marker2[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#7A7A7A"]""[/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_marker3[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#7A7A7A"]""[/color][color="#8B3E2F"][b];[/b][/color] [color="#006400"][i]/*ORBAT examples 0: ARRAY - group position in format [x,y,y] or [x,y] 1: CONFIG - preview CfgORBAT group 2: CONFIG - topmost displayed CfgORBAT group 3: ARRAY - list of allowed tags 4: NUMBER - maximum number of displayed tiers */[/i][/color] [color="#1874CD"]_orbat1[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]2500[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]600[/color] [color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#191970"][b]configFile[/b][/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"CfgORBAT"[/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"BIS"[/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"B_1_B_3_3"[/color][color="#8B3E2F"][b],[/b][/color][color="#191970"][b]configFile[/b][/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"CfgORBAT"[/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"BIS"[/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"B_1_B_3_4"[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#7A7A7A"]"BLUFOR"[/color][color="#8B3E2F"][b],[/b][/color] [color="#7A7A7A"]"USArmy"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Kerry"[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]5[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_orbat2[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]4000[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]1000[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#191970"][b]configFile[/b][/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"CfgORBAT"[/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"BIS"[/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"B_1_B_3_3"[/color][color="#8B3E2F"][b],[/b][/color][color="#191970"][b]configFile[/b][/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"CfgORBAT"[/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"BIS"[/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"B_1_B_3_4"[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#7A7A7A"]"BLUFOR"[/color][color="#8B3E2F"][b],[/b][/color] [color="#7A7A7A"]"USArmy"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Kerry"[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]5[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_orbat3[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]1500[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]4000[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#191970"][b]configFile[/b][/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"CfgORBAT"[/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"BIS"[/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"B_1_B_3_3"[/color][color="#8B3E2F"][b],[/b][/color][color="#191970"][b]configFile[/b][/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"CfgORBAT"[/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"BIS"[/color] [color="#8B3E2F"][b]>[/b][/color][color="#8B3E2F"][b]>[/b][/color] [color="#7A7A7A"]"B_1_B_3_4"[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#7A7A7A"]"BLUFOR"[/color][color="#8B3E2F"][b],[/b][/color] [color="#7A7A7A"]"USArmy"[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Kerry"[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]5[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#006400"][i]/*Image examples 0: STRING - texture path 1: ARRAY - colour in format [R,G,B,A] 2: ARRAY - image position 3: NUMBER - image width (in metres) 4: NUMBER - image height (in metres) 5: NUMBER - image angle (in degrees) 6: STRING - text displayed next to the image 7: BOOL - true to display shadow */[/i][/color] [color="#1874CD"]_image1[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#7A7A7A"]"images\exampleImage.jpg"[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]1[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#FF0000"]50[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]50[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]7[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]5[/color][color="#8B3E2F"][b],[/b][/color][color="#FF0000"]0[/color][color="#8B3E2F"][b],[/b][/color][color="#7A7A7A"]"Example Image"[/color][color="#8B3E2F"][b],[/b][/color][color="#000000"]true[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_image2[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#1874CD"]_image3[/color] [color="#8B3E2F"][b]=[/b][/color] [color="#8B3E2F"][b][[/b][/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b];[/b][/color] [color="#006400"][i]//Function call with above set parameter[/i][/color] [color="#8B3E2F"][b][[/b][/color][color="#000000"]nil[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_viewPos[/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#1874CD"]_m1[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_m2[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_m3[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_m4[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_m5[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_m6[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_m7[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_m8[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_m9[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_m10[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#1874CD"]_orbat1[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_orbat2[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_orbat3[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#1874CD"]_marker1[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_marker2[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_marker3[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#8B3E2F"][b][[/b][/color][color="#1874CD"]_image1[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_image2[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_image3[/color][color="#8B3E2F"][b]][/b][/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_overcast[/color][color="#8B3E2F"][b],[/b][/color][color="#1874CD"]_viewNight[/color][color="#8B3E2F"][b]][/b][/color] [color="#191970"][b]call[/b][/color] BIS_fnc_strategicMapOpen[color="#8B3E2F"][b];[/b][/color] [/color] Made with KK's SQF to BBCode Converter Here's a small script I've just written. The script itself should have all the information you need. Only known issue so far is that it won't detect the path for the image in variable _image1. I'm not sure why that is, because it works fine if I use the same path for a specific mission. In order to use this script you need the dev guild, becaue it uses the new command param. Edited June 25, 2015 by R3vo 1 Share this post Link to post Share on other sites
magicpanda 19 Posted August 15, 2015 Nice script!I'm trying to adapt it to get use spawned marker positions instead of x,y,z for the missions.Pretty new to this so I tried the below with no joy. Am I on the right track? Cheers. _m1pos = getMarkerPos "AO"; //Mission examples //0: ARRAY - mission position in format [x,y,y] or [x,y] _m1 = [[_m1pos],{player setPos param [0,[0,0,0]];},"Airfield","Move to Airfield","player","images\exampleImage.jpg",1,[]]; Here is the full thing without the color tags etc. /* Author: Revo Description: Creates a Strategic Map Call via addAction like this: _unit addAction ["Strategic Map","openStrategicMap.sqf",[_viewPos,_viewNight,_overcast]]; Parameter(s): 0: _target -> addAction 1: _caller -> addAction 2: _action -> addAction's id 3: ARRAY - default view position in format [x,y,y] or [x,y] 4: BOOL - true for night version of strategic map (darker with blue tone) 5: NUMBER - value in range <0-1> defining weather on strategic map (i.e. density of clouds). If not defined, 0 is used. Returns: - */ _target = param [0,objNull]; _caller = param [1,player]; _action = param [2,0]; _viewPos = (_this select 3) param [0,[0,0,0]]; _viewNight = (_this select 3) param [1,false]; _overcast = (_this select 3) param [2,0]; _m1pos = getMarkerPos "AO"; /*Mission examples 0: ARRAY - mission position in format [x,y,y] or [x,y] 1: CODE - expression executed when user clicks on mission icon 2: STRING - mission name 3: STRING - short description 4: STRING - name of mission's player 5: STRING - path to overview image 6: NUMBER - size multiplier, 1 means default size 7: ARRAY - parameters for the -on click- code; referenced from the script as (_this select 9) */ _m1 = [[_m1pos],{player setPos param [0,[0,0,0]];},"Airfield","Move to Airfield","player","images\exampleImage.jpg",1,[]]; _m2 = [[2458,5660,0],{player setPos param [0,[0,0,0]];},"FOB","Move to FOB","player","",1,[]]; _m3 = [[6472,5367,0],{player setPos param [0,[0,0,0]];},"Kamino Firing Range","Move to Kamino","player","",1,[]]; _m4 = [[2982,1876,0],{player setPos param [0,[0,0,0]];},"LZ Connor","Move to LZ Connor","player","",1,[]];; _m5 = [[3291,2928,0],{player setPos param [0,[0,0,0]];},"Camp Maxwell","Move to Camp Maxwell","player","",1,[]]; _m6 = [[4331,3852,0],{player setPos param [0,[0,0,0]];},"Air Station Mike-26","Move to Air Station Mike-26","player","",1,[]]; _m7 = [[5023,5905,0],{player setPos param [0,[0,0,0]];},"Camp Rogain","Move to Camp Rogain","player","",1,[]]; _m8 = [[2026,3554,0],{player setPos param [0,[0,0,0]];},"Camp Tempest","Move to Camp Tempest","player","",1,[]]; _m9 = [[4488,6786,0],{player setPos param [0,[0,0,0]];},"Kill Farm","Move to Kill Farm","player","",1,[]]; _m10 = [[2623,611,0 ],{player setPos param [0,[0,0,0]];},"The Spartan","Move to The Spartan","player","",1,[]]; /*Marker examples ARRAY - list of markers revealed in strategic map (will be hidden when map is closed) */ _marker1 = ""; _marker2 = ""; _marker3 = ""; /*ORBAT examples 0: ARRAY - group position in format [x,y,y] or [x,y] 1: CONFIG - preview CfgORBAT group 2: CONFIG - topmost displayed CfgORBAT group 3: ARRAY - list of allowed tags 4: NUMBER - maximum number of displayed tiers */ _orbat1 = [[2500,600 ],configFile >> "CfgORBAT" >> "BIS" >> "B_1_B_3_3",configFile >> "CfgORBAT" >> "BIS" >> "B_1_B_3_4",["BLUFOR", "USArmy","Kerry"],5]; _orbat2 = [[4000,1000],configFile >> "CfgORBAT" >> "BIS" >> "B_1_B_3_3",configFile >> "CfgORBAT" >> "BIS" >> "B_1_B_3_4",["BLUFOR", "USArmy","Kerry"],5]; _orbat3 = [[1500,4000],configFile >> "CfgORBAT" >> "BIS" >> "B_1_B_3_3",configFile >> "CfgORBAT" >> "BIS" >> "B_1_B_3_4",["BLUFOR", "USArmy","Kerry"],5]; /*Image examples 0: STRING - texture path 1: ARRAY - colour in format [R,G,B,A] 2: ARRAY - image position 3: NUMBER - image width (in metres) 4: NUMBER - image height (in metres) 5: NUMBER - image angle (in degrees) 6: STRING - text displayed next to the image 7: BOOL - true to display shadow */ _image1 = ["images\exampleImage.jpg",[1,1,1,1],[50,50,0],7,5,0,"Example Image",true]; _image2 = []; _image3 = []; //Function call with above set parameter [nil,_viewPos,[_m1,_m2,_m3,_m4,_m5,_m6,_m7,_m8,_m9,_m10],[_orbat1,_orbat2,_orbat3],[_marker1,_marker2,_marker3],[_image1,_image2,_image3],_overcast,_viewNight] call BIS_fnc_strategicMapOpen; Share this post Link to post Share on other sites
R3vo 2654 Posted August 15, 2015 You are on the right track, but you have to remove the parenthesis []. As it is right now it would be an array in an array [[0,0,0]]; Share this post Link to post Share on other sites