So when I have this trigger,
Events:
Unit - A unit Begins casting an ability
Conditions:
(Ability being cast) Equal to Wind Walk
Actions:
Player - Add (Point-value of (Casting unit)) to (Owner of (Casting unit)) Current gold
Unit - Remove (Casting unit) from the game
and
Events...
I wanted to make a trigger where
Events: Player types a chat message containing skill as An exact match.
Actions: Order unit to use ability
I can't seem to find the trigger for using abilities, only train/upgrade.
Somehow this solved the lag problem
Events
Unit - A unit owned by player 1 (red) is issued an order targeting a point
Actions
Trigger - Turn off (this trigger)
Unit group - Order (Units currently selected by player 1 (red)) to move to (center of region 1 <gen>)
Trigger - Turn on (this trigger)
When your units move through other people's lane it steals a life from the that player. When can I change the owner back if I change it to neutral? The points will be taken away by the neutral owner.
I think I have a leak in my triggers here.
Events
Unit - A unit owned by player 1 (red) is issued an order targeting a point
Actions
Unit group - Order (Units currently selected by player 1 (red)) to move to (center of region 1 <gen>)
It lags hard when I move more than two units.
Can...
So I just create a variable "TempGroup" typr "player group" initial value "player group - player 1 (red)" and in my trigger above add a custom script with "call DestroyGroup(udg_TempGroup)" as the value?
I am moving some units with triggers and I don't want the owner of the units to move them. I've seen some maps (forgotten which) where the unit don't have anything in the lower right bar (move,attack,stop,hold etc) but is able to do it when the trigger is activated.
I've created a trigger...