Removing From Mini-Map

Mythes

Member
Reaction score
7
I know that you can make a Unit disappear from the mini-map on the object editor...
Can you make that with triggers?
Looked for it and didn't find it...

Thanks

Myt.
 

jig7c

Stop reading me...-statement
Reaction score
123
nope, you can't hide from the mini-map via triggers

you can hide the unit altogether from the map, which would then remove it from the mini-map, (i think) via triggers
 

Mythes

Member
Reaction score
7
But how did then IceFrog create the skill in DotA where there is a Hero (Phantom Assassin) which, when near Enemy Heroes, it disappears from their mini-map???
I guess it is possible but only in JASS?
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
Morph the unit into a 2nd version that was set to be hidden on the mini-map in the object editor?
 

Mythes

Member
Reaction score
7
Morph kindda bugs when you morph into a Hero....
So can't use it...
Other sugestions?
 

0WN3D

New Member
Reaction score
15
Morph shldhave no problem as long as you morph it into a hero not a unit...... Another wacky way is to make the unit neutral hostile but it will make it appear on the minimap when unseen....
 

Mythes

Member
Reaction score
7
Yeah, I've been testing some stuff with Morph, and it turned out fine as long as I morphed into another model, different from the one I started...
And I didn't want that... I just wanted to delete the hero from the mini map... So he couldn't change models...
Because I'm making a labirynth, and to make navegation a little harder, I want to remove the hero from the mini-map. (Many people rely on mini-map for positioning, so it kind of screws them :p)
Any ideas?

Myt.
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
you can set the unit to originally not show up on the minimap and create a unit that is invulnerable and has no model file that always moves to the same location of the unit u want to not show up, then when you want it to disapear remove the unit... or make the model-less unit invisible for the duration u want it to not show up if units cant see invis etc
 

Mythes

Member
Reaction score
7
Can't do that..
I'm making a Hero Defense map, so the heroes must show on mini-map all times, EXCEPT if they are in the labyrinth.
If I made the dummy unit idea, (so the original unit and the dummy unit would swap places in the labyrinth) I would have to make a dummy for each player..
That would lag up a bit, and, of course, there's the selection problem, etc etc...
Kind of lot of work... I thought removing a unit from the mini map would be easy.. My mistake :(
I have no idea what to do...
Maybe I should email IceFrog? :p

Myt.
 

GFreak45

I didnt slap you, i high 5'd your face.
Reaction score
130
you dont swap the dummy unit's place and the heroes place... you remove the dummy unit completely when you want it to not show... it doesnt create a lot of lag... you can make a 0.4 sec trigger that destroys all units = to unit x in the map and then picks all heros not in the labrynth and creates one at their location for the same owner
 

Mythes

Member
Reaction score
7
Sry, could you write a example trigger or even better, and example map?
I'm kindda lost, and actually seeing the trigger work would be nice...

Myt.
 

Solmyr

Ultra Cool Member
Reaction score
30
First and foremost, I don't think (and don't want to bother checking if) this can be done in GUI. But, if you're up for some JASS magic, here we go (the way it's done in DotA):

On map initialization, [ljass]call SetAltMinimapIcon("war3mapImported\\black.blp")[/ljass]. Then, whenever you want a unit to disappear from the mini-map, simply [ljass]call UnitSetUsesAltIcon(whichUnit, true)[/ljass], and whenever you want the unit to appear again, just [ljass]call UnitSetUsesAltIcon(whichUnit, false)[/ljass].

I believe that the mini-map icon was created by Infrisios, so all the credit should go to him. I have extracted it from DotA and attached it to this post.
 

Attachments

  • black.blp
    2.4 KB · Views: 240

Mythes

Member
Reaction score
7
I'm sorry, I suck at jass...
What do I imput in (whichUnit) ?
Entering unit? (because I want the unit to disappear from the mini-map only when he enters the labyrinth....)

Sorry again, I suck at JASS and have failed to learn it properly =/

Myt.
 

evilwolf

Member
Reaction score
11
I'm sorry, I suck at jass...
What do I imput in (whichUnit) ?
Entering unit? (because I want the unit to disappear from the mini-map only when he enters the labyrinth....)

Sorry again, I suck at JASS and have failed to learn it properly =/

Myt.
Call UnitSetUsesAltIcon(GetTriggerUnit(), true)
That should be it.
 

Mythes

Member
Reaction score
7
Will test later, and repost here..
And wolf, ty for all the help u've been giving me xD
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Varine Varine:
    They are pretty much disposable. I have shitty nozzles though, and I don't think these were designed for how hot I've run them
  • Varine Varine:
    I tried to extract it but the thing is pretty stuck. Idk what else I can use this for
  • Varine Varine:
    I'll throw it into my scrap stuff box, I'm sure can be used for something
  • Varine Varine:
    I have spare parts for like, everything BUT that block lol. Oh well, I'll print this shit next week I guess. Hopefully it fits
  • Varine Varine:
    I see that, despite your insistence to the contrary, we are becoming a recipe website
  • Varine Varine:
    Which is unique I guess.
  • The Helper The Helper:
    Actually I was just playing with having some kind of mention of the food forum and recipes on the main page to test and see if it would engage some of those people to post something. It is just weird to get so much traffic and no engagement
  • The Helper The Helper:
    So what it really is me trying to implement some kind of better site navigation not change the whole theme of the site
  • Varine Varine:
    How can you tell the difference between real traffic and indexing or AI generation bots?
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air
  • The Helper The Helper:
    New dessert added to recipes Southern Pecan Praline Cake https://www.thehelper.net/threads/recipe-southern-pecan-praline-cake.193555/

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top