OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: nuxil on 04 Sep 2009, 16:14:55
-
Hi all..
i need some of your help guys.
i want to figure out how to check if the map is open, any ideas on how it can be done ?
_NR=X????
While {alive player} do
{
WaitUntil {!IsNull (FindDisplay _NR)};
Hint "Map Dialog is open";
WaitUntil {IsNull (FindDisplay _NR)};
Hint "Map Dialog is closed";
};
i have tried many idc's but it wount work :(
so im thinking is it because the RscMapControl and,or RscDisplayMainMap has access = 0?
or am i just missing some basic commands here.
-
visibleMap (http://community.bistudio.com/wiki/visibleMap)?
-
omg. how could i miss that one. i basicly live on the wiki :p
Thanks i0n0s
-
Quick follow up! How do I force the map to show up? As in, an addaction to create a onMapClick, I want the map to automagically show upon hitting the addaction. :)
(No, I haven't searched yet - I just saw this thread and am glomming on.) :)