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

Hero Selection

Status
Not open for further replies.
Level 3
Joined
May 27, 2007
Messages
67
Hi!
So im making a map where you have to select a hero from an altar.
What i wanna do is that when some1 has choosen a hero they wont be able to get one more... You know like in DotA. They just dissapear from the Taverns. I know i could change ownership of them but i want them to be able to revive fallen heroes just like in Single Player Warcraft.
What do i do???:cry:
Thanks!
 
Level 3
Joined
May 27, 2007
Messages
67
Thats what im doing at the moment. But it looks crap. I want lik in dota, the icons should disapear. I have seen a tutorial that explained this but i cant remember where :(...
 
  • Hero Disable
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • ((Sold unit) is A Hero) Equal to True
    • Actions
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Player - Make (Unit-type of (Sold unit)) Unavailable for training/construction by (Picked player)
There you go, I used it for one of my maps.
 
Level 3
Joined
May 27, 2007
Messages
67
haha! LordDz :grin:

Anyway thanks alot guys! /bow

Btw, will this only cause the sold unit to go away? If so, ppl will be able to buy another one after the refresh cooldown is done. :S How do i prevent that?
 
Last edited:
Status
Not open for further replies.
Top