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

how to give building a selection (hero-type) icon

Status
Not open for further replies.
You could have a fake Hero that redirects selection to the Building. Anyway, if the UI icon isn't in the top left corner of the screen and/or doesn't look identical to a standard Hero icon (life bar, mana bar, etc) then it's safe to assume that it's a custom UI frame which was introduced in 1.31.
 
You could have a fake Hero that redirects selection to the Building. Anyway, if the UI icon isn't in the top left corner of the screen and/or doesn't look identical to a standard Hero icon (life bar, mana bar, etc) then it's safe to assume that it's a custom UI frame which was introduced in 1.31.
It look exactly as default hero icon at the top-left corner.

So how this fake hero is going to look like? I need to hide unit via trigger, and then you can detect via event when you select it through pressing click on icon?
 
Yeah, that sounds about right.
Uncle I have a little question, off-topic. Are there any way to place a shop that sell items for ONLY 1 team, but still having a "item start cooldown", just like neutral shops do? When I want to sell items only for 1 team, items has no start cd value working. When I want to have start cd value, item are able to be bought by both teams. I'm mad at wc3 engine.
 
Uncle I have a little question, off-topic. Are there any way to place a shop that sell items for ONLY 1 team, but still having a "item start cooldown", just like neutral shops do? When I want to sell items only for 1 team, items has no start cd value working. When I want to have start cd value, item are able to be bought by both teams. I'm mad at wc3 engine.
I believe you use the Shop Sharing ability and make sure that the Shop is owned by an Ally of the Team that can use it.
 
Status
Not open for further replies.
Back
Top