Hero Tavern difficulties

Nethrezim

New Member
Reaction score
2
This time my problem is that when I buy a hero form a hero tavern I can buy it again and again and again.
I changed the techtrees to "Any Altar" and "Any Tier # Hall, Any Altar". I've also changed the stock maximum to 1. I also changed the gameplay constants and added the circle of power and my hero to the hero list. What am I doing wrong?
 

xmkiller

New Member
Reaction score
6
Make sure you change something called Stock Replenishment (something along the lines of that) to 0.

Edit: Oh sorry I ment the opposite of that. Change it to 9999999999999999999. Im not sure if that'll do exactly what you want, but its a quick fix.
 

Nethrezim

New Member
Reaction score
2
Yeah well that won`t allow me to pick the same hero two times. But I can still pick the hero with 9999 replenish and other heroes in the tavern.

EDIT: @ furby777 - that`s the tutorial I've used. And it doesn`t work for me...
 

Crusher

You can change this now in User CP.
Reaction score
121
This?

Code:
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)
Game - Display to (All players) the text: (Player Has Choosen  + (Name of (Sold unit)))
Selection - Select (Sold unit) for (Owner of (Sold unit))
 

Crusher

You can change this now in User CP.
Reaction score
121
You can't if you do this...just set requires: keep..
 

Kiddo

New Member
Reaction score
12
How about ... use Crusher8's trigger, change the food cap in Game Constants, make it 1/2 whatever, make all your hero's take up 1 food. And add a trigger at Elapsed Time 0.05 (random under 1 second) to set your food cap at 1.

Something like this:
Code:
Food Cap
    Events
        Map initialization
    Conditions
    Actions
        Player Group - Pick every player in (All players) and do (Player - Set (Picked player) Food cap to 1)

It just might solve your problem. :)
 

Furby

Current occupation: News poster
Reaction score
144
I think that is not 100% good, coz what if you want in the future add units which must have food? This is my idea and i think it is better as with the food.:
Map Initialization:
Code:
Map Initialization
    Events
        Map initialization
    Conditions
    Actions
        Player Group - Pick every player in (All players) and do (Actions)
            Loop - Actions
                Player - Limit training of Heroes to 1 for (Picked player)

Selling:
Code:
Hero Pick
    Events
        Unit - A unit Sells a unit
    Conditions
        ((Triggering unit) is A Hero) Equal to True
    Actions
        Player - Limit training of Heroes to 0 for (Owner of (Sold unit))
        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)
        Game - Display to (All players) the text: (((Name of (Owner of (Sold unit))) +  has chosen ) + ((Name of (Sold unit)) + .))
        Selection - Select (Sold unit) for (Owner of (Sold unit))
        Camera - Pan camera for (Owner of (Sold unit)) to (Position of (Sold unit)) over 0.00 seconds
 
K

kroxfire

Guest
If u wanted to use units that used food why not just get make the Food Cost in Unit editor 0?

Sounds less complex
 
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