• 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.

Minimap Icons

Status
Not open for further replies.
Level 12
Joined
May 12, 2012
Messages
631
Hello there hive! :grin:

I just thought of a new idea (not sure if new) :grin:
Is it possible to have a certain icon on the minimap to be shown all the times pointing where the hero is? And when the hero dies it is covered with transparent gray.
 
Level 4
Joined
Mar 24, 2008
Messages
87
Hi, you can change hero's icon on minimap by a custom model via interface settings. ( Icon - Minimap heroes)

If the hero dies it'll fade itself, so you have to make a trigger for this. (Might be possible, as i only use GUI i didn't find how to :p)
Maybe changing another icon model, like gold's one, and creat a dummy unit using this model where the hero dies ?
 
Level 37
Joined
Mar 6, 2006
Messages
9,243
You could try pinging the hero's position.
  • Untitled Trigger 001
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set u = Blood Mage 0000 <gen>
      • Set point = (Position of u)
      • Set pgrp = (Player group((Owner of u)))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (u is alive) Equal to True
        • Then - Actions
          • Cinematic - Ping minimap for pgrp at point for 0.30 seconds, using a Simple ping of color (100.00%, 100.00%, 100.00%)
        • Else - Actions
          • Cinematic - Ping minimap for pgrp at point for 0.30 seconds, using a Simple ping of color (75.00%, 75.00%, 75.00%)
      • Custom script: call RemoveLocation(udg_point)
      • Custom script: call DestroyForce(udg_pgrp)
      • Custom script: set udg_point = null
      • Custom script: set udg_pgrp = null
 
Level 12
Joined
May 12, 2012
Messages
631
Hi, you can change hero's icon on minimap by a custom model via interface settings. ( Icon - Minimap heroes)

If the hero dies it'll fade itself, so you have to make a trigger for this. (Might be possible, as i only use GUI i didn't find how to :p)
Maybe changing another icon model, like gold's one, and creat a dummy unit using this model where the hero dies ?

Thanks for the suggestion man, but I'm not of a triggerer myself so I don't know how to do something complicated :xxd:

You could try pinging the hero's position.
  • Untitled Trigger 001
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set u = Blood Mage 0000 <gen>
      • Set point = (Position of u)
      • Set pgrp = (Player group((Owner of u)))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (u is alive) Equal to True
        • Then - Actions
          • Cinematic - Ping minimap for pgrp at point for 0.30 seconds, using a Simple ping of color (100.00%, 100.00%, 100.00%)
        • Else - Actions
          • Cinematic - Ping minimap for pgrp at point for 0.30 seconds, using a Simple ping of color (75.00%, 75.00%, 75.00%)
      • Custom script: call RemoveLocation(udg_point)
      • Custom script: call DestroyForce(udg_pgrp)
      • Custom script: set udg_point = null
      • Custom script: set udg_pgrp = null

I can see the point of your trigger but I have one question, wouldn't it lag? Because every 1 second it is pinging. And what if there are let's say 3 heroes using that method, will it lag?
 
Status
Not open for further replies.
Top