Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Ingame Map dialog. open or not ?  (Read 3361 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.