| 02-24-2005, 02:43 PM | #1 |
I'm making a map like a TD, but you defend with units and not towers. But the disadvantage of this, is that the enemy doesn't attack when you block, like in TD. Does anyone have an idea or suggestion? I have tried several triggers, I'm not sure if AI is better in this case. (Rep and thanks to whoever tries to help :8 ) |
| 02-24-2005, 05:47 PM | #2 |
What I did was just send a shade through, wait 30 seconds, THEN after it cant get through (you detect that with triggers), have the units attack, or whatever. Make sure you give the shade to the computer. |
| 02-24-2005, 08:04 PM | #3 |
Ye I'm working on that too. But isn't there a way to make the units attack if they can't move? |
| 02-24-2005, 10:45 PM | #4 |
I guess you could compare a units X value (or whichever one goes left/right, if your having them go from left to right) and see if its constantly increasing/decreasing, and if it wasnt then have them attack. |
