Home   Help Search Login Register  

Author Topic: Ingame Map dialog. open or not ?  (Read 1358 times)

0 Members and 1 Guest are viewing this topic.

Offline nuxil

  • Members
  • *
Ingame Map dialog. open or not ?
« 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 ?


Code: [Select]
_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.

Offline i0n0s

  • Moderator
  • *****
Re: Ingame Map dialog. open or not ?
« Reply #1 on: 04 Sep 2009, 16:25:47 »

Offline nuxil

  • Members
  • *
Re: Ingame Map dialog. open or not ?
« Reply #2 on: 04 Sep 2009, 16:29:58 »
omg. how could i miss that one. i basicly live on the wiki :p

Thanks i0n0s

Offline Trexian

  • Members
  • *
Re: Ingame Map dialog. open or not ?
« Reply #3 on: 04 Sep 2009, 17:13:34 »
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.) :)
Sic semper tyrannosauro.