| 01-18-2004, 11:41 PM | #1 |
I was tring to make a spawn point that spawns the same amount of units of towers you have in a region, (like in Tides of Blood), but there is a problem, i can use 2 things, Units of type owned by player and Units owned by player in region (units of type in region, would be perfect but dont exist emote_confused ) thats for the integer that counts how many towers are in the region, i made it whit a variable but thats ****ed up if a tower get destroyed any ideas how to keep it simple? |
| 01-18-2004, 11:59 PM | #2 |
Am I missing something here? You could just use Code:
(Number of units in (Units in (<yourregion>) matching ((Unit-type of (Matching unit)) Equal to <unittype>))) Equal to 0 |
| 01-19-2004, 12:14 AM | #3 |
hey thx, it spawn my units really fine, that save me a lot of work ://// |
| 01-19-2004, 12:49 AM | #4 |
Glad to be of assistance :D |
