- Joined
- Jun 10, 2007
- Messages
- 557
How would one go about removing an invisible unit belonging to a player who buys a unit?
Like, when you buy hero X (which is then transported away), the dummy belonging to the buying player which lets the player buy heroes is removed? I can't figure out how to do this without repeat progamming... Preferably without JASS.
So far, my trigger looks like this.
Like, when you buy hero X (which is then transported away), the dummy belonging to the buying player which lets the player buy heroes is removed? I can't figure out how to do this without repeat progamming... Preferably without JASS.
So far, my trigger looks like this.
-
Herotransport
-
Events
- Unit - A unit Sells a unit
-
Conditions
- ((Sold unit) is A Hero) Equal to True
-
Actions
- Game - Display to (All players matching ((Owner of (Sold unit)) Equal to (Matching player))) for 8.00 seconds the text: Thanks to many peop...
- Unit - Move (Sold unit) instantly to (Center of herospawn <gen>)
- Camera - Apply beginning <gen> for (Owner of (Sold unit)) over 0.50 seconds
-
Events