A question about gates

Status
Not open for further replies.
Level 15
Joined
Nov 26, 2005
Messages
1,151
Okay, so here it is.

I have a big map. Which has a lot of gates (from all different tilesets). I have a Gate tower unit with 2 abilities - Open and Close. That's cool.
Each ability picks up all destructibles in 300 radius and opens/closes them. BUT it affect all destructibles... How can I avoid this ? How can I make it affect only gates ? (not trees, walls, barrels etc.)


Ok, I figured out I can use If/Then/Else with Or - Any condition are true and list all possible gates ... but is there anything better ?
 
Status
Not open for further replies.
Top