Boomerang
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Boomerang Pull (Neutral Hostile)
Actions
Set BoomerangNo = (BoomerangNo + 1)
Set Temp_point = (Position of (Casting unit))
Set...
I think hes testing out the trigger to see if it works first.
Anyways, for your trigger, once your unit casts the spell, don't issue him another order.
I'm not really sure, but when I use wait in a trigger for a spell and order the unit to move away once he casts it, the spell doesn't come...
Nenad - It lags over time when i use it. When i don't, it doesn't lag.
And I turned it off when there are no more "boomerangs" in the map.
vypur85 - I followed you idea and made adjustments to those in bold, using variables and removing them. It still lags over time.
Thanks for the help...
I've made a trigger for a boomerang-like skill, dragging units towards you. However, after using it for some time, the game becomes quite laggy.
Can anyone see if there are any leaks in the trigger?
Boomerang
Events
Unit - A unit Starts the effect of an ability
Conditions...