Jump to content
Sign in to follow this  
lawman_actual

Enable to view map while GUI active

Recommended Posts

Struggling to find an answer to this, though I'm sure it's mighty simple.

 

I have made a UI, opened via command menu.

I'd like to be able to open the map while that GUI is open, but can't find out how.

 

Other small things I'd like to do that aren't working:

 

-  close the command menu when GUI is opened

- make the GUI moveable. 

 

 

 

Here's my current class as defined in dialogs.hpp:

class fireMissionPage1

{

		idd= 0001;

		movingenable = true;
		showOverMap = true;
		
		onLoad = "ExecVM 'loadGuiArtyPage1.sqf'";

		class controls

			{

//(CLASS CONTROLS OMITTED TO SAVE SPACE)
				
			}

}

Share this post


Link to post
Share on other sites

hi

it should be possible to create a map control. but i havent tried it my self, just seen it used with arty targetting in some missions.

Share this post


Link to post
Share on other sites

So it's not possible just to have the in-game map open as normal over the top or underneath the UI?

 

Killzone kid mentions the showOverMap thing in his tutorials but i haven't been able to get it to work

 

 

UPDATE: just tried opening the UI with the map open. The UI correclty opened (hence the showOverMap working) but you couldn't move the map.

 

So yeah, i guess you're right. I'll see if I can put together a map control...presumably you can script it so that this opens when the M key is pressed and the UI is open

Share this post


Link to post
Share on other sites

I've been able to get a map to display inside a dialog, movable and zoomable. Would that approach work for you?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×