• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Some Questions

Status
Not open for further replies.
Level 30
Joined
Feb 18, 2014
Messages
3,623
1.Disable mini-map in game(nothing show, even your postion) and enable it in special time?
No afaik (unless they added some UI natives in the newest patch which can do that), Anyway, you can try creating a black mask visibility, however, this will also make the areas that you already explored invisible...

Edit : I think this is the native you are looking for :
Code:
call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_MINIMAP,0), true)
2.Disable alarms?
Not sure if I understand correctly, you mean the alerts like when your ally base gets attacked? I think those can be disabled by importing a muted sound file to replace the orginal warning sound.
 
Last edited:
You can hide the units in the minimap, just tick these part of every units to true.

I am not sure about the alarms though.

I hope this helps.
 

Attachments

  • 1.png
    1.png
    123.2 KB · Views: 60
  • 2.png
    2.png
    1.8 MB · Views: 63
Level 45
Joined
Feb 27, 2007
Messages
5,578
You can hide the units in the minimap, just tick these part of every units to true.
The OP also wants to be able to enable the minimap display on-demand, so this will not work. If the map doesn't have very many units this behavior could be simulated by removing minimap display for all units and then mirroring each one that should be displayed with a minimap dummy unit moved periodically to be on top of it. Not a great solution but it would work.
 
Level 11
Joined
Dec 11, 2009
Messages
234
This is the best way (note that loading a saved game resets it, so it must be hidden again):
JASS:
call BlzFrameSetVisible(BlzGetOriginFrame(ORIGIN_FRAME_MINIMAP,0), false)
Before 1.31, the method I used is to import an empty texture as "war3mapMap.blp" (doesn't seem to work anymore if you save the map in WE 1.31.1), but you couldn't toggle it in-game, obviously.
 
Status
Not open for further replies.
Top