- Joined
- Jul 22, 2004
- Messages
- 43
Got a problem to get this working properly:
Event
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Arcane Intellect
Actions:
Set Arcane[(Player number of (Owner of (Target unit of ability being cast)))] = (Target unit of ability being cast)
Unit - Add Arcaneability to Arcane[(Player number of (Owner of (Target unit of ability being cast)))]
Wait until ((Arcane[(Player number of (Owner of (Target unit of ability being cast)))] has buff Arcane Intellect ) Equal to False), checking every 1.00 seconds
Unit - Remove Arcane from Arcane[(Player number of (Owner of (Target unit of ability being cast)))]
When casting the ability on many units it removes the ability only from the last unit. How can i make the variable index unique so the ability can be cast on multiple units :?:
Event
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Arcane Intellect
Actions:
Set Arcane[(Player number of (Owner of (Target unit of ability being cast)))] = (Target unit of ability being cast)
Unit - Add Arcaneability to Arcane[(Player number of (Owner of (Target unit of ability being cast)))]
Wait until ((Arcane[(Player number of (Owner of (Target unit of ability being cast)))] has buff Arcane Intellect ) Equal to False), checking every 1.00 seconds
Unit - Remove Arcane from Arcane[(Player number of (Owner of (Target unit of ability being cast)))]
When casting the ability on many units it removes the ability only from the last unit. How can i make the variable index unique so the ability can be cast on multiple units :?: