HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

What can be done with the minimap buttons?

07-11-2009, 02:13 AM#1
Anitarf
There are a couple of buttons on the user interface next to the minimap and I'm thinking about what to do with them in a map I'm making that doesn't really need any of them (the buttons are minimap ping, minimap terrain display, ally colour display mode, minimap creep camp display, formation move toggle). Can a click on any of those buttons be detected/forced with triggers? Also, the effect of which buttons can be disabled? (creep camp display toggle can be neutralized by simply not having any creeps on the map, but there's little that can be done about team colour display mode toggle, right?)

The map I'm making is heavily triggered so I really don't need these icons because they contribute nothing to the gameplay, so I want to get rid of them as much as possible or even give them different functions. I doubt any of those options is viable, though.
07-11-2009, 02:25 AM#2
Switch33
Quote:
but there's little that can be done about team colour display mode toggle, right?)

Well, in my opinion thats the only useful button.

Quote:
creep camp display toggle can be neutralized by simply not having any creeps on the map

This could be used to display certain markers of your own choice on the map by using creeps for specific purposes like checkpoints or something. Just an idea. . .

As for making them not do anything i don't really know if thats possible. As for making them look not noticeable this is definitely do-able just you need to edit the UI so it sort of covers them.
07-11-2009, 02:59 AM#3
Alevice
Maybe mod the tooltips to give tips and crap? Way handier than using the obstrusive quest log.
07-11-2009, 05:58 AM#4
midiway
the native to enable/disable the buttons is
Collapse JASS:
native EnableMinimapFilterButtons   takes boolean enableAlly, boolean enableCreep returns nothing

since there is no event related with them, you need to use a timer, like I did with the multiboard minimize button

I didn't find the native to get the current status of each button, but I'm sure that if there is one, it's totally assynchronous
07-11-2009, 10:15 AM#5
DioD
there is no display state, you can disable them, but cant detect.
07-11-2009, 12:50 PM#6
Gorman
Use the hostile camp to display towns or dungeons or important locations (so when you toggle 'display hostile creep locations' on you get the green/yellow/red dots where important stuff is, eg green friendly towns, yellow dungeons, red pvp arenas)

Use team colours to display factions, so have all the good guys as green team, and all the bad guys as red team, then just use the 'use team colour' option in the object editor to make them what ever colour you need, eg if there are two human towns, one grey because they are a forge town, one purple because they are merchant, they will still show up as green when you toggle team colours, so you know where your buddys are, regardless of appearance.

Not much cool stuff you can do with pinging that i know of, but its always useful in its native form.

EDIT: nice counter midiway, but mine owns yours.