Home   Help Search Login Register  

Author Topic: Open minimap with script  (Read 2149 times)

0 Members and 1 Guest are viewing this topic.

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Open minimap with script
« on: 23 Nov 2010, 18:21:07 »
Is there any way to open the minimap from a script?
urp!


Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: Open minimap with script
« Reply #2 on: 25 Nov 2010, 16:17:24 »
thanks. think that opens full map screen only.
urp!

Offline kju

  • Members
  • *
    • PvPScene - The ArmA II multiplayer community
Re: Open minimap with script
« Reply #3 on: 25 Nov 2010, 19:26:03 »
what is the minimap - the gps?

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re: Open minimap with script
« Reply #4 on: 26 Nov 2010, 13:05:49 »
I believe he's refering to the GPS/map that can be accessed by pressing rigt Ctrl + M in game. AFAIK there's no way to display it from a script. User input is required.
OFPEC | Intel Depot
RETARDED Ooops... Retired!

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: Open minimap with script
« Reply #5 on: 26 Nov 2010, 14:30:02 »
yes. i meant the gps. i did not think it would be possible.
urp!

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re: Open minimap with script
« Reply #6 on: 26 Nov 2010, 15:15:11 »
It might, however, be possible to create a custom map resource which is roughly the size of the GPS, but of course it wouldn't work in the same way at all...unless someone managed to do a lot of scripting magic to it, of course.  :scratch: Anyway, that's over my head, but it's a thought.

What do you need it for, if anything? :)

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: Open minimap with script
« Reply #7 on: 26 Nov 2010, 16:21:43 »
I don't really need it any more. Someone asked me to make a quick and dirty altimeter script for the default OA HALO script. Players were becoming pancakes in overcast conditions! :P

Players like to use the minimap for navigation when sky-diving, so I thought I might add the altitude as marker text on an empty marker. But then I thought players might not know to open the minimap...

In the end I pulled a page from ACE2 HALO and used hintSilent instead with coloured text.
urp!

Offline kju

  • Members
  • *
    • PvPScene - The ArmA II multiplayer community
Re: Open minimap with script
« Reply #8 on: 28 Nov 2010, 08:36:53 »
A (custom) minimap is actually very simple. You only need to define class RscMapControl in the ext and base your dialog on it.
You can check the code in AAS or A&S ProMode for example.