So I've got a structure, Structure A, that is invulnerable. There are 2 cannons defending Structure A, Cannon A and B. How would I go about making a trigger that makes Structure A vulnerable if Cannon A and B are destroyed? Thanks.
For this you will need a Variable named say "CannonsKilled". If your working with multiple lanes you might want a variable for each lane like Cannon(Top) Cannon(Bottom) Cannon(Middle) ect... An array would work fine for that.
There are other ways I am sure, but I would write it like this...
So I've got a structure, Structure A, that is invulnerable. There are 2 cannons defending Structure A, Cannon A and B. How would I go about making a trigger that makes Structure A vulnerable if Cannon A and B are destroyed? Thanks.
Store both of your cannons for the base in an array, and then have something akin to this.
Action: Any Unit Dies
Conditions:
(Cannon[1] is alive) == false
(Cannon[2] is alive) == false
Actions:
Unit - Make (StructureA) Vulnerable
Doesn't seem to be working, Structure A just stays invulnerable. .^
Let me take a look at the map.
For this you will need a Variable named say "CannonsKilled". If your working with multiple lanes you might want a variable for each lane like Cannon(Top) Cannon(Bottom) Cannon(Middle) ect... An array would work fine for that.
There are other ways I am sure, but I would write it like this...
Ok, I'll give that a go first.
Edit: Thanks, works fine now.