- Joined
- Aug 26, 2004
- Messages
- 406
I don't know why this is, and I normally don't have problems like this - and its so freakin simple >< BUT!
I can't get this to work:
-------------------------------------------------
Event: Periodic event: - Every 2 seconds of game
Condition: BooleanVariableArray [1] = True
("True" from diff. trigger)
Action: - A unitgroup variable "X" do ["Orc - HeroFarSeer Chainlightning"] another unitgroup variable "Z"
Wait 10
Set BooleanVariableArray[1] = False
-------------------------------------------------
whereas;
"X" =(Add "Last created unit" to "X")#8 (units created in a different trigger)
"Z" =(Random unit from (units in 800 region, matching((Triggering unit)has Buff)))
Obviously, "X" ought to cast my spell based on "Chainlightning" every 2 seconds, for 10 seconds, at random units in "Z", but it only casts it once ><
It has no cooldown or mana usage, and the buff stays with "Z" 10 seconds
What do I do wrong, and/or if it looks like this is how its meant to be, (Im sure I've done this earlier without problems ><) please tell if you've encountered likewise problems, and what you did to solve them, cause I'm going loop!
Btw, I put this in the map section, 'cause its a map I'm making, only, it is with custom abillity heroes, but not a spell map, yet, I don't know if its entirely the right forum anyways
I can't get this to work:
-------------------------------------------------
Event: Periodic event: - Every 2 seconds of game
Condition: BooleanVariableArray [1] = True
("True" from diff. trigger)
Action: - A unitgroup variable "X" do ["Orc - HeroFarSeer Chainlightning"] another unitgroup variable "Z"
Wait 10
Set BooleanVariableArray[1] = False
-------------------------------------------------
whereas;
"X" =(Add "Last created unit" to "X")#8 (units created in a different trigger)
"Z" =(Random unit from (units in 800 region, matching((Triggering unit)has Buff)))
Obviously, "X" ought to cast my spell based on "Chainlightning" every 2 seconds, for 10 seconds, at random units in "Z", but it only casts it once ><
It has no cooldown or mana usage, and the buff stays with "Z" 10 seconds
What do I do wrong, and/or if it looks like this is how its meant to be, (Im sure I've done this earlier without problems ><) please tell if you've encountered likewise problems, and what you did to solve them, cause I'm going loop!
Btw, I put this in the map section, 'cause its a map I'm making, only, it is with custom abillity heroes, but not a spell map, yet, I don't know if its entirely the right forum anyways