Hero Question

darkmik07

New Member
Reaction score
2
how will i make a trigger that if that hero has been picked its not more available.

cause im using 2 same taverns placed at two teams.
 

vakan

New Member
Reaction score
0
make all hero require the unit "You have early choose a hero" and create the unit for all player, and make a trigger who remove this unit for triggering player when you buy a hero
or you make stock maximum at one and Stock Replenish Interval at maximum
 

Kahiera

Active Member
Reaction score
9
when a player gets the hero, do a loop between integers 1-12 and disable the unit from purchase for player(integer)
 

darkmik07

New Member
Reaction score
2
can you please post a picture of that trigger or post it like this:

Player - (Owner of (triggering unit)) must learn this trigger

Thanks.
 

Carnerox

The one and only.
Reaction score
84
Something like this?


Trigger:
  • All Pick
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • ((Sold unit) is A Hero) Equal to (==) True
    • Actions
      • Player Group - Pick every player in PlayerTeam and do (Actions)
        • Loop - Actions
          • Player - Make (Unit-type of (Sold unit)) Unavailable for training/construction by (Picked player)
      • Selection - Select (Sold unit) for (Owner of (Buying unit))
      • Unit - Remove (Buying unit) from the game
      • Unit - Move (Sold unit) instantly to (Random point in Spawn <gen>)
      • Camera - Pan camera for (Owner of (Buying unit)) to (Center of Spawn <gen>) over 1.00 seconds



Note: This was taken from my map.
 

darkmik07

New Member
Reaction score
2
Something like this?


Trigger:
  • All Pick
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • ((Sold unit) is A Hero) Equal to (==) True
    • Actions
      • Player Group - Pick every player in PlayerTeam and do (Actions)
        • Loop - Actions
          • Player - Make (Unit-type of (Sold unit)) Unavailable for training/construction by (Picked player)
      • Selection - Select (Sold unit) for (Owner of (Buying unit))
      • Unit - Remove (Buying unit) from the game
      • Unit - Move (Sold unit) instantly to (Random point in Spawn <gen>)
      • Camera - Pan camera for (Owner of (Buying unit)) to (Center of Spawn <gen>) over 1.00 seconds



Note: This was taken from my map.


thanks.. ill try it later.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top