Need some help on Tavern

D

DevBoyz

Guest
1: How do I remove a hero after it being selected?
2: The player still can choose a new hero after it has already have one, how do i make it only have 1 hero?

Anyhelp i will + you guys Rep ;)
 

vinkia

New Member
Reaction score
0
if im not wrong..i think you have to create unit-type variablesfor each hero in order to remove one another..
 

MagnaGuard

Active Member
Reaction score
49
1: I think theres a trigger to remove something from a shop/tavern
2: Set a variable (string) and if a player has a hero, set the variable to 1 then make an action if a player has a hero, dont let him get anymore.
 

X-maul

AKA: Demtrod
Reaction score
201
1.
1: I think theres a trigger to remove something from a shop/tavern

you could make it like this, a trigger from my map...
Code:
Unavaivible for pick
    Events
        Unit - A unit Sells a unit
    Conditions
        (Unit-type of (Triggering unit)) Equal to [COLOR="Red"]Soul Without A Body[/COLOR]
    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)
just change the red marked unit to the unit that buys the heroes in your map (a whisp or something like that), you could also do so that it check what unit who sells it..

2.
you could make all the heroes in your map unavailable for picking for the exact player.
 
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