• 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.
  • 💡 We're thrilled to announce that our upcoming texturing contest is in the works, and we're eager to hear your suggestions! Please take this opportunity to share your ideas in this theme discussion thread for the Texturing Contest #34!
  • 🏆 Hive's 7th HD Modeling Contest: Icecrown Creature is now open! The frozen wastes of Icecrown are home to some of Azeroth’s most terrifying and resilient creatures. For this contest, your challenge is to design and model a HD 3D monster that embodies the cold, undead, and sinister essence of Icecrown! 📅 Submissions close on April 13, 2025. Don't miss this opportunity to let your creativity shine! Enter now and show us your frozen masterpiece! 🔗 Click here to enter!

Use hero minimap icon for non-hero

Status
Not open for further replies.
Level 12
Joined
May 22, 2015
Messages
1,051
Is it possible to have a unit appear on the minimap as a the big circle like heroes when the unit is not a hero?

I have bosses in my map and currently you can completely lose track of them. I find it hilarious when my friend and I are scrambling around looking for them, but it's definitely not something that should be part of the gameplay.

My current (unimplemented) idea is to have a dummy hero unit that is moved periodically to the boss (one for each boss - some bosses use more than one unit and you can have more than one boss on the map at a time).

Should I got ahead with my idea or is there a better / easier / nicer way?
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
Much better ways there, you can even give your boss a custom cool looking minimap icon.

A sort of hacky way would be to look under "Advanced -> Game Interface" and there for "Icon - Minimap xxx" (where xxx would be hero, neutral, resource, resource (entangled) or resource (haunted)). And then make your boss one of those or as you said, move a dummy one of those constantly to the position of your boss unit.

A trigger solution would be to use SetAltMinimapIcon(string path), which allows you to set ONE new icon with a .blp of your choice. Then you can for every unit choose whether it should use that alternative icon, namely with UnitSetUsesAltIcon(unit u, boolean b).
 
Level 12
Joined
May 22, 2015
Messages
1,051
This is working for me thanks! I am using the haunted goldmine icon.

EDIT:
To be a little more clear, I went with the "SetAltMinimapIcon(string path)" solution and just used the haunted goldmine icon in the game already.
 
Last edited:
Status
Not open for further replies.
Top