Ok, this might be a very dumb question, but I have never used heroes in any of my maps before.. so I am trying to learn how this works : <
How do I make a Hero icon appear on the screen?
In Warcraft 3, when a player had a hero in play, an icon appeared in the top left corner of the screen. The player could click on it or click F1 to select the hero.
When I place heroes in the editor, no icons appear in game. How does this work in the SC2 editor?
Ps. Yes yes I did search for it but I only found threads about more complicated issues relating to heroes and the interface.. maybe will someone who just wanna know the basics find this thread in the future : )
use a trigger hook and set transparency to 100 or visible to false (or move it outside the screen, dunno which one will work). if you should have more heroes you have to hook every button.
Would someone care to explain in more detail how to move the hero icon to the top left + remove the life bar? I find no values in the UI editor for that. Do I need to import custom layout files?
Each player can choose to play as Zerg, Terran or Protoss in the battle.net lobby. Then I need to find a way to determine what race a player is, since each race starts with a different kind of "hero." So I can not use one general dialog button for each race.
Is it possible for the trigger to determine what race a player plays as, and then add the appropriate dialog button? (So Zerg gets the Zerg button, etc)
Ok, this might be a very dumb question, but I have never used heroes in any of my maps before.. so I am trying to learn how this works : <
How do I make a Hero icon appear on the screen?
In Warcraft 3, when a player had a hero in play, an icon appeared in the top left corner of the screen. The player could click on it or click F1 to select the hero.
When I place heroes in the editor, no icons appear in game. How does this work in the SC2 editor?
Ps. Yes yes I did search for it but I only found threads about more complicated issues relating to heroes and the interface.. maybe will someone who just wanna know the basics find this thread in the future : )
mark the unit as heroic, but it will appear on the right. you can use UI-editor to move it to top left.
Thanks,
is it necessary to use a custom interface to remove the health bar from the hero icon? (I find no way of doing it in the actor)
Or is there an easier way?
(see picture below
@Kabelkorven: Go
Though I'm not 100% sure with hero icons, whenever I set a unit as invulnerable most of their health/armor information tends to disappear.
Thanks, but it does not remove the health bar on the hero icon
use a trigger hook and set transparency to 100 or visible to false (or move it outside the screen, dunno which one will work). if you should have more heroes you have to hook every button.
bump.
Would someone care to explain in more detail how to move the hero icon to the top left + remove the life bar? I find no values in the UI editor for that. Do I need to import custom layout files?
do you need that button hooked up like that? why not just make a dialog button with that icon and set it to select the hero when pressed?
Each player can choose to play as Zerg, Terran or Protoss in the battle.net lobby. Then I need to find a way to determine what race a player is, since each race starts with a different kind of "hero." So I can not use one general dialog button for each race.
Is it possible for the trigger to determine what race a player plays as, and then add the appropriate dialog button? (So Zerg gets the Zerg button, etc)
Easiest Possible way? Do the Trigger-math and Trigger-logic. Besides that I'm afraid its up to the XML Side of the Coding.
Just a tip, Use hookup, PM me once its successful :)
make a contion of "plays race= zerg (or whatever race)" then make a dialog for them