-On initalization trigger make all invulnerable towers invulnerable
-Create a global integer variable called "Tower Death Count"
-When any unit dies, if triggering unit type = tower, increase "Tower Death Count" by 1. Then in same trigger perform check: if "Tower Death Count">=2, make towers 4 & 5 vulnerable, and if tower#4 & tower#5 are both dead, make 5 vulnerable.
Can you please, please, please make a step by step. I'm not good with programming. :(
-On initalization trigger make all invulnerable towers invulnerable
-Create a global integer variable called "Tower Death Count.
That part I get it, i think. Look the picture:
But this part I have no idea what to do: "-When any unit dies, if triggering unit type = tower, increase "Tower Death Count" by 1. Then in same trigger perform check: if "Tower Death Count">=2, make towers 4 & 5 vulnerable, and if tower#4 & tower#5 are both dead, make 5 vulnerable."
I did exactly like you say, look. But have a error.
AND have another thing i think is important to say, the tower 6, is not a tower, is like a Nexus (League of Legends). I think this, change something right?
I would say that the problem comes from "Map Initialization" ...the condition is refering to the "Triggering Unit" who is he on map ini? Doesn't exist.
About the set variable, I'm suprised there is a syntaxe... That's how you add 1 to a variable itself I believe...
What i need is simple, i guess:
http://i.imgur.com/fLtgWIG.png
The tower 6, just can be defeated if the tower 4 and 5 are dead.
The tower 4 and 5 just can be defeated if have 2 towers dead in the field.
Thank you.
Someone please help. Just show me the way.
Something like this?
-On initalization trigger make all invulnerable towers invulnerable
-Create a global integer variable called "Tower Death Count"
-When any unit dies, if triggering unit type = tower, increase "Tower Death Count" by 1. Then in same trigger perform check: if "Tower Death Count">=2, make towers 4 & 5 vulnerable, and if tower#4 & tower#5 are both dead, make 5 vulnerable.
@DuckyTheDuck: Go
Thank you! I'll try later, after my work.
@DuckyTheDuck: Go
Can you please, please, please make a step by step. I'm not good with programming. :(
-On initalization trigger make all invulnerable towers invulnerable -Create a global integer variable called "Tower Death Count.
That part I get it, i think. Look the picture:
But this part I have no idea what to do: "-When any unit dies, if triggering unit type = tower, increase "Tower Death Count" by 1. Then in same trigger perform check: if "Tower Death Count">=2, make towers 4 & 5 vulnerable, and if tower#4 & tower#5 are both dead, make 5 vulnerable."
Thanks for helping me bro.
I think this is what he means:
http://i.imgur.com/CUMlJ7d.png
Working on projects:
Make an Array Count, that way it organizes the Towers from Tower X ,Tower Y to Tower Z, and so on. :) Goodluck.
@Scbroodsc2: Go
I did exactly like you say, look. But have a error.
AND have another thing i think is important to say, the tower 6, is not a tower, is like a Nexus (League of Legends). I think this, change something right?
I'm close guys, don't give up on me.
@Diego6D: Go
I would say that the problem comes from "Map Initialization" ...the condition is refering to the "Triggering Unit" who is he on map ini? Doesn't exist.
About the set variable, I'm suprised there is a syntaxe... That's how you add 1 to a variable itself I believe...
Working on projects: