no edit summary
(How to stop following) |
No edit summary |
||
| Line 4: | Line 4: | ||
Q: Is there a way to stop following from a script? Before patch 1.6 you could issue a movement command to stop following, but that is no longer an option. | Q: Is there a way to stop following from a script? Before patch 1.6 you could issue a movement command to stop following, but that is no longer an option. | ||
------------- | |||
A: Try this: | A: Try this: | ||
/script MoveForwardStart(0) | /script MoveForwardStart(0) | ||
| Line 9: | Line 10: | ||
Which starts you moving (thus breaking the follow), and then immediately stops (Which means you stay in one place). | Which starts you moving (thus breaking the follow), and then immediately stops (Which means you stay in one place). | ||
------------ | |||
Nope, that doesn't work. Movement functions were disabled as of 1.6. | |||
[[Category:API Functions|FollowUnit]] | [[Category:API Functions|FollowUnit]] | ||
[[Category:API Movement Functions|FollowUnit]] | [[Category:API Movement Functions|FollowUnit]] | ||
[[Category:API Unit Functions|FollowUnit]] | [[Category:API Unit Functions|FollowUnit]] | ||