HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

PLEASE HELP! i dont understand this..

12-25-2004, 10:37 AM#1
vile
i made an aos map and i got 2 taverns that u choose heros from
the problem is whenever a hero dies, suddenly u can see in the tavern the icon of the hero stocked by 16 (like u buy items u can max get 2 of them, thats the stock)
and when u press on it, the hero revives

the stock maximum is 1 for each hero and the replenish interval is 99999
but..
when a hero dies the icon i was talking about appears on a diff tavern and on a diff place than the original icon
the original icon still exists

anyone knows what the problem is?
12-25-2004, 07:53 PM#2
Guest
Quote:
Originally Posted by vile
i made an aos map and i got 2 taverns that u choose heros from
the problem is whenever a hero dies, suddenly u can see in the tavern the icon of the hero stocked by 16 (like u buy items u can max get 2 of them, thats the stock)
and when u press on it, the hero revives

the stock maximum is 1 for each hero and the replenish interval is 99999
but..
when a hero dies the icon i was talking about appears on a diff tavern and on a diff place than the original icon
the original icon still exists

anyone knows what the problem is?

Well...if i'm understanding your problem correctly, you have two DIFFERENT taverns with a selection of 8 different heroes each? well, I can solve your first problem. Normally, the heroes should disappear or become unavailable after you hire a hero from that tavern. If you want the hero to be UNAVAILBLE you can simple use a trigger and by editing the Game constants.

First of all, open your map and go into ADVANCED -> GAMEPLAY CONSTANTS -> and edit the field called "TECHTREE - DEPENDENCY EQUIVILENTS - HERO". Add your custom heroes into the list (you have the select the "Use Custom Game constants" box to edit it). This should make your custom heroes be treated by the game as normal heroes. When you buy or train one, in order to train another, you must up your tier (meaning upgrade your town hall).

Now the trigger to limit training of a peticulat hero to 1 only. Make a new trigger like the following.

EVENT:

Map Initialization

CONDITION:
(none)

ACTION:

Player - Limit Training of (your custom hero) to (1) for (Player #)

to get this to work, yo must make an action for each player you want to apply this trigger to. for example, if you want both player 1,2, and 3 to be only able to train 1 hero of each type:

EVENT:

Map Initialization

CONDITION:
(none)

ACTION:

Player - Limit Training of (your custom hero) to (1) for (Player 1)
Player - Limit Training of (your custom hero) to (1) for (Player 2)
Player - Limit Training of (your custom hero) to (1) for (Player 3)
(and so on)
--------------------------------------------------------------------------------------------------------

As for the stock have a 16 on it. I think it has something to do with the fact that you have 16 custom heroes in two different taverns. Try giving your taverns the ability called "Revive Hero" instead of "Revive Instantly" and change the Training time of you heros to (0). However, i dont fully understand your problem. f it's possible, please attach send this map, or a blank map with just your custom data so i can see what is going on.
12-26-2004, 03:53 PM#3
logik
i think its because the tavern has the "revives dead heros" thing check (or it could be an ability) - just check through it... and uncheck it / remove the ability.
12-28-2004, 02:28 PM#4
vile
yes! i removed the revive dead heroes option from the tavern and it worked! thanks alot :D :D
12-29-2004, 05:54 AM#5
logik
there you go... i knew i saw that option floating around there.






A Bit Of Rep Goes Along Way
12-29-2004, 06:19 AM#6
Panto
Don't beg. Also, rep doesn't count for much.
12-29-2004, 02:44 PM#7
logik
ino... im bored...