| 01-19-2009, 04:22 PM | #1 |
I have a spell that creates 3 firewall units in front of the caster, if any unit comes 80un closer to the firewall it gets knocked back. It uses GUI and is not MUI, also it uses a lot of workaround. I tough I could do something with timerutil, but I need a event to detect "unit come closer" so I would need dynamic triggers, but some guys say they are evil, so... I have no idea how to do this :( Someone can help-me? |
| 01-19-2009, 05:02 PM | #2 |
I'd periodically check for any units in range. Basically you want a sort of flame wall? I made a similar spell for the spell olympics, but I don't have my wc3 computer at the moment so I can't recode it to do knockback. |
| 01-19-2009, 06:13 PM | #3 | |
Quote:
|
| 01-19-2009, 06:24 PM | #4 |
It won't if it's properly coded, but you don't really need to check more often than every 0.25 seconds. |
