Jump to content
cb65

Disable mouse click on a map control in a dialog ?

Recommended Posts

Hello,

 

Is there a way to disable mouse click on a map control in a dialog without disabling the whole map control ?

Share this post


Link to post
Share on other sites
5 hours ago, pierremgi said:

Don't! Except if you have a workable mean to exit the map without user input...

use the UI EHs:

https://community.bistudio.com/wiki/User_Interface_Event_Handlers#onButtonClick

 

@pierremgi Thanks.

 

Going to try this.

https://community.bistudio.com/wiki/User_Interface_Event_Handlers#onMouseButtonDown

 

Cheers.

Share this post


Link to post
Share on other sites
5 minutes ago, killzone_kid said:

That KK's post has nothing to do with the map. Try onMapSingleClick {true};

 

just missed each other hehe.

 

Thanks KK.

 

Share this post


Link to post
Share on other sites
37 minutes ago, killzone_kid said:

Try onMapSingleClick {true};

 

This worked thanks again KK :thumb:

 

Spent awhile trying to solve this and it turned out to be as simple as that :shrug:

 

Cheers.

Share this post


Link to post
Share on other sites
On 1/13/2019 at 6:10 AM, killzone_kid said:

That KK's post has nothing to do with the map. Try onMapSingleClick {true};

I literally love you. 7 years....7 years... i tried to resolve this issue. Having looked at the example on the wiki i realise now i was looking at syntaxes designed for previous Arma games and not understanding why various attempts worked. finally i can use high command without loosing my mind as a vehicle commander!

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

×