Jump to content
Sign in to follow this  
MrBilliams

How to force close a players map?

Recommended Posts

Hi

I'm creating an instant halo script for my mission and was wondering if there is a way to force close the map?

Its not a major need as players can do it themselves but after spending a long time looking through the BI forums and Arma 2 scripting commands looking for something relevant it seems odd that there is 'showmap' and 'forcemap' commands but no close map or exit item commands. The only way I thought of doing it was through deleting the map and then adding them again but that seems like an unnecessary task.

Thanks to anyone that can help :D

SOLVED

Very simple scripting error caused the command that I was using not to work the other way.

Put simply to open the map use 'openmap true;' to close 'openMap false;'.

Edited by MrBilliams
Solved

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  

×