| 12-25-2006, 09:18 AM | #1 |
Is there any way to check if a unit is moving, when it starts and when it stops? |
| 12-25-2006, 10:14 AM | #2 |
Did you even try to use 'search'? This thread should answer your question. |
| 12-25-2006, 09:50 PM | #3 |
(sorry about this mess of trigger script, i am unable to open WE atm for some reason..) Trigger: ![]() Events:
![]() Every 0.01 seconds //(or higher if its a very slow unit)
![]() Conditions:
![]() None
![]() Actions:
![]() Set tempPoint[1] - Position of (my unit)
![]()
![]() If /then /else
![]() custom script: call RemoveLocation(udg_tempPoint[0])
![]() custom script: call RemoveLocation(udg_tempPoint[1])
![]() Set tempPoint[0] - Position of (my unit)That should do the trick. btw all ye wc3c vets, dont be too harsh on non-searchers |
