| 10-14-2006, 09:29 AM | #1 |
Aight, I have this small issue, I dont want enemies to go through waygates that are in the base. I know I could set a rect/region for this at the way gate and teleport units entering it, without the waygate ability, but then, when you click somewhere, your unit will not go through the way gate automatically like it should. Anyone found a way not to let enemies go through your waygate? |
| 10-14-2006, 10:41 AM | #2 |
hmm may sound stupid, but how about this ? use the event *when enemy entering region* then check if the entering unit is not your unit, move the unit instantly back to the waygate, it may cause some problem if the enemy is a com and he might get stuck there forever =| but it works for human player |
| 10-15-2006, 05:31 AM | #3 |
can cause lots of problems, i already did it. blink abilties will just teleport the unit. |
| 10-15-2006, 11:16 AM | #4 |
Hmm, if you don't want to stick to how it works too hard, try something like: If someone Left-Clicks a waygate (which is of course a fake one and does not actually teleport), check if his Hero is close to that waygate he clicked. |
