Zanderist
New Member
- Reaction score
- 5
I've made a trigger using the formula v= d/t (and it's other variants)
But it has a problem, if you keep clicking on on the map while the unit(s) are selected you can end up creating an extra unit.
How can I prevent that extra unit for being created.
Trigger:
- Replace On arrival to point
- Events
- Unit - A unit Is issued an order targeting a point
- Conditions
- Actions
- Set Distance = ((Distance between (Position of (Ordered unit)) and (Target point of issued order)) / (Default movement speed of (Ordered unit)))
- Game - Display to (All players) the text: (ETA: + (String(Distance)))
- Wait Distance seconds
- Unit - Replace (Ordered unit) with a Footman using The old unit's relative life and mana
- Events
But it has a problem, if you keep clicking on on the map while the unit(s) are selected you can end up creating an extra unit.
How can I prevent that extra unit for being created.