• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Hero Buttons for Non-Heroes?

Status
Not open for further replies.
Level 2
Joined
Oct 17, 2007
Messages
20
Hi,
I would like very much to have a particular building of the player's have its own "hero icon" appear in the upper left corner of the UI along with other hero icons. I seem to run into issues with trying to turn a hero into a building with the objecct editor (by replacing art assets, for example). I believe there is an easier way to just take my existing building and make it generate an icon/button. Please help!

Thanks,
Volty
 
That's a good suggestion, but not perfect. I'm still trying to figure this one out...
 
Just create a building that looks like your hero, is the same size, same collision, and when it finishes constructing, replace it through Triggers. Set it's movement to 0 and I think you'll be okay.

Either that, or just make a dummy hero for the building with no model, shadow or collision for the hero building with the same icon.
 
a solution :
make a dummy hero with the same icon than the building
then, make a trigger "the hero is selected > select the building"

(you've got to play with some parameters of the dummy hero to make it "invisible", like "height : -9999", "shadow : no", "selection size : 0", "display on minimap : no", "view range : 0" and probably some other i miss)
 
Status
Not open for further replies.
Back
Top