Adding a Hero to a Tavern

Lyle.

New Member
Reaction score
32
SOLVED

Code:
Add Heros
    Events
        Time - Elapsed game time is 1.00 seconds
    Conditions
    Actions
        Neutral Building - Add Demon to Tavern 0083 <gen> with 1 in stock and a max stock of 1
        Neutral Building - Add Slayer to Tavern 0083 <gen> with 1 in stock and a max stock of 1
        Neutral Building - Add Vile Temptress to Tavern 0083 <gen> with 1 in stock and a max stock of 1
        Neutral Building - Add Beastmaster to Tavern 0084 <gen> with 1 in stock and a max stock of 1
        Neutral Building - Add Tigress to Tavern 0084 <gen> with 1 in stock and a max stock of 1
        Neutral Building - Add Furion to Tavern 0084 <gen> with 1 in stock and a max stock of 1

Am I missing something?
 

punwisp

New Member
Reaction score
34
o_O why would you make triggers for adding heroes? simply just go to the specific tavern(Depending on tile settings, like outland, black citidel, village etc.) Scroll all the way down and it will say something like

"Units sold"

Something like that, and just add or remove them. And go to each specific unit you can set there stock(like limit, time it takes to refresh etc)

More simpler in my opinion

Also on your trigger it doesnt seem specific enough to add heroes to a tavern. Anyway my method is more simple, just may take a bit.(depending on how many heroes you got)
 

Lyle.

New Member
Reaction score
32
o_O why would you make triggers for adding heroes? simply just go to the specific tavern(Depending on tile settings, like outland, black citidel, village etc.) Scroll all the way down and it will say something like

"Units sold"

Something like that, and just add or remove them. And go to each specific unit you can set there stock(like limit, time it takes to refresh etc)

More simpler in my opinion

Also on your trigger it doesnt seem specific enough to add heroes to a tavern. Anyway my method is more simple, just may take a bit.(depending on how many heroes you got)

I didn't want to do it that way because it would force me to make a new unit for each tavern on my map.

I would rather do it my way if it is possible. no reason to have so many Taverns.
 

Lyle.

New Member
Reaction score
32
Nothing happens, but when a hero dies he is able to be revived there.

I have tryed making the Tavern Neutral Passive and I have tryed making it owned by the player trying to get the hero.
 

punwisp

New Member
Reaction score
34
you dont have to make a bunch of taverns. Oh i thought there were different versions of taverns. Guess not, only for merc camps. Also you dont have to make new units. Simply edit current heroes and add them to the tavern list. You dont have to make any new structures or buildings.

Techtree-Units sold: Alchemist, tinker, firelord,Naga sea witch, Dark ranger, panda prewmaster. Those are the defaults heroes for taverns, you can add or remove them

Look under stats under the units you want to change stock maximum and such its all there under the custom stats you can make.
 

Lyle.

New Member
Reaction score
32
I have 2 taverns one on each side, I only want certain heros to be in each. If I do it your way I need to make a seperate tavern for each side, Correct?
 

punwisp

New Member
Reaction score
34
I see yea, It is actually very simple, just click create, choose the tavern, rename it, add the units and poof done. No need to make frustrating triggers

EDIT: Actually i just thought of something.

If each side has a specific town hall or something then do this
(this isnt for trigger)
Have X heroes can be hired if player has "Castle"
Have X heroes can be hired if player has "stronghold"
Same thing with other side, just make a stronghold or something, and have the heroes require a specific building to be able to use. This way you dont have to make any taverns or make any triggers. This is where you go for this

Techtree - requirments

just double click on it and for each hero have the required building be either a stronghold or castle.

This will only take a while if you have a lot of heroes

This is probably simpler then previous idea i gave.
 

Lyle.

New Member
Reaction score
32
I understand how to copy and paste I would just prefer Triggers as they will make life easier for me :)
 

punwisp

New Member
Reaction score
34
Eh, people have there own versions of "easy" lol, to me this would be easier. Only triggers can be a pain to set up right.
 

chango

New Member
Reaction score
1
Hi,

To use the action: "Add unit type ... " you have to set up the tavern so it can sell units, in the object editor normal abilities add the "Sell Units".

by default the tavern dont have that ability and maybe that is the problem.


Sorry for my bad english.

C ya.
 

Lyle.

New Member
Reaction score
32
Hi,

To use the action: "Add unit type ... " you have to set up the tavern so it can sell units, in the object editor normal abilities add the "Sell Units".

by default the tavern dont have that ability and maybe that is the problem.


Sorry for my bad english.

C ya.

That's what I was looking for :D +Rep
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top