Warcraft III resources & community, 2003–2006 · archived

Stupid #[][][][]% grrrr HELP ME

5 posts
#1

Stupid #[][][][]% grrrr HELP ME

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 :P
#2
Use two triggers:

Event:
(choose one)

Conditions:
(choose)

Actions:
Set BooleanVariableArray [1] = true


And this one, initally enabled.


Events:
Every 2 seconds of the game

Conditions:
If BooleanVariableArray [1] = true

Actions:
Issue order etc.
#3
that is what I have done... that is what don't work :S

it says, the Boolean Array IS true from diff. trigger, that aint the problem... it is why the hell it only targets a random unit once!
#4
I don't completely understand what you mean. Can you send me the map via e-mail or post a link to it?
#5
k, I send you a mail from [email protected]

btw, sry if I send it more than once :oops: gmail is still in beta testing, and sometimes act wierd