Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
You just make region at the tavern, and every unit which is a hero will be teleported. If you need this for a meele kinda map this will not be good. Because hero buying new hero will be teleported too. But if you need this to kinda hero chosing system this will be okz.
I admit that is better. And that could work as a trigger for tavern in map, where a hero can actually buy another hero from tavern. And my trigger could not do that. But if you need it for a hero chosing system that not matter
[trigger=]
Hero Selection
Events
Unit - A unit Sells a unit
Conditions
((Sold unit) is A Hero) Equal to True
Actions
Set PointVariable = (Center of TempRegion <gen>)
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)
Unit - Move (Sold unit) instantly to PointVariable, facing 270.00 degrees
Selection - Clear selection for (Owner of (Sold unit))
Selection - Add (Sold unit) to selection for (Owner of (Sold unit))
Camera - Pan camera for (Owner of (Sold unit)) to PointVariable over 0.00 seconds
Game - Display to (All players) the text: ((Name of (Owner of (Sold unit))) + ( has picked + (Name of (Sold unit))))
Custom script: call RemoveLocation(udg_PointVariable)
[/trigger]
Variables Used: PointVariable = Point. You can set PointVariable to any name you want.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.