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.
cause im using 2 same taverns placed at two teams.
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.