WoW:API FollowUnit: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(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]]

Revision as of 03:47, 13 December 2005

FollowUnit("UnitID")

Can only follow allies

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: /script MoveForwardStart(0) /script MoveForwardStop(0)

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.