I've been working on my first spell "Mass Wards" and i´m planning on fixing so only i can go out and in the circle with wards that comes up. But how to do that? please help^^.
Code:
Mass Wards
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Mass Wards
Actions
For each (Integer A) from 1 to 40, do (Actions)
Loop - Actions
Unit - Create 1 Mass Ward (Level 4) for (Owner of (Casting unit)) at ((Position of (Casting unit)) offset by 400.00 towards ((Real((Integer A))) x 10.00) degrees) facing Default building facing degrees
Unit - Add a 8.00 second Generic expiration timer to (Last created unit)