HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

how do i stop the same hero being built multiple times

05-22-2005, 10:36 PM#1
corley
This has probabaly been asked a few times before but i coudnt find a similar thread. Anyway how do i stop people building a hero multiple times instead of the normal once. thanks for any help anyone can give
05-22-2005, 11:52 PM#2
Guest
Quote:
Originally Posted by corley
This has probabaly been asked a few times before but i coudnt find a similar thread. Anyway how do i stop people building a hero multiple times instead of the normal once. thanks for any help anyone can give
I'm not sure what you mean. (You mean like Player 1 buys paladin, then player 2, can't)
Well to do this (If its a store)
Stats - STock maximum 1
Stats - Replenish interval 3600
Stats - Stock Start Delay 0
(This juts makes a pretty long waiting time, long enough so no body is gonna wait that long lol)
05-23-2005, 03:06 AM#3
Ignitedstar
Doesn't the hold shift work? If it does, then just put the wait time 999999. :P
05-23-2005, 11:39 AM#4
corley
no basicly ppl can buy heroes 99999 time sover and i only want 1 type of hero to be purchasble like normal meelee, otherwise ppl wont build units and will jsut get heroes as an army lol
05-23-2005, 12:26 PM#5
Zoxc
Is it 1 per player or 1 for all players?
05-23-2005, 02:53 PM#6
corley
think melee, u can only build 1 of each hero at curreent ppl can build the same hero multiple time si dont want this, only a max of 1 of the same hero
05-23-2005, 11:38 PM#7
Ignitedstar
You mean like the tavern? So, when you make one hero, no other player and get that same hero, right?
05-24-2005, 12:08 AM#8
Anitarf
Use the trigger action "melee game - limit training of heroes to one per type" at map initialization. I think you also need to specify in gameplay constants somewhere which unit types are heroes, just look for a list of war3 heroes there and add your custom heroes to that list.
05-24-2005, 02:02 PM#9
corley
ok will try this, thx again anitarf!
05-25-2005, 12:56 PM#10
Keitaro
Here´s the thread you were looking for, in case this doesn´t help: http://www.wc3campaigns.com/showthre...e+hero+problem

I noticed that my custom heroes don´t give me any greetings when I summon them. Do any of you know how to do that? Panto old buddy?
05-25-2005, 02:08 PM#11
corley
cool thx keitaro!
05-25-2005, 04:07 PM#12
Anitarf
Keitaro, what sound sets are you using? I think normal units don't have a come-into-play sound. If you are using an actuall hero's sound set, then I don't know what could be wrong...
05-25-2005, 11:32 PM#13
yuripro84
if you also want to limit only specific types of units, you can use this action
Player - Limit Training of Unit-Type
05-26-2005, 07:07 AM#14
Keitaro
I use actual hero sound along with normal unit and special units like Arthas. Not one single of these ungrateful bastards greet me when I summon them. So I thought maybe there was a field where I could select a come-into-play sound.

Just a small thing that buggers me.