Warcraft III resources & community, 2003–2006 · archived

hero taverns

4 posts
#1

hero taverns

I have made some hero Taverns for my map but now I need to know this..

When you pick them what trigger do you need to place them by thier base instesd of right at the taver..like on footmen maps,
#2
Trigger is:

Event: Unit is purchased (Or trained)

Condition:

Actions: If Buying player is player 1 move instantly the purchased unit to (player 1's) base


You will have to make multiple if/then/else triggers to have thjis effect, each for different players. I think theres a shorter way thann this that uses less triggers but i dont know how to do it. It seems to work just fine anyways.
You can also change from the base (A unit in my view) to a region. Then just do same thing but insted of at position of unit, make it in center of region
#3
there is no value that says purchased or trained thetre is one that says unit sells a unit and unit finishes training of a unit I dont know if that right though
#4
Hero Trained
Events
Unit - [Altar 1] Sells a unit
Unit - [Altar 2] Sells a unit
Unit - [Altar 3] Sells a unit
...
Unit - [Altar n] Sells a unit
Conditions
Actions
Unit - Remove (Buying unit) from the game
this is optional
Unit - Move (Sold unit) instantly to (Center of [Your Location])

this will make it so that when a hero is bought it is automatically moved to [Youn Location]. you will probably need to fix player starting locations tho.