WoW:API FollowUnit: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
No edit summary
(It's possible to stop autofollow.)
Line 9: Line 9:
== Details ==
== Details ==


* It is '''not possible''' to ''stop'' following someone from a script. The player needs to take action (move, jump, sit, whatever). See the [[Talk: API FollowUnit|{{discussiontab}} page]].
* <s>It is '''not possible''' to ''stop'' following someone from a script. The player needs to take action (move, jump, sit, whatever). See the [[Talk: API FollowUnit|{{discussiontab}} page]].</s> ( FollowUnit("player") )


* For historical reference, see also [[API FollowByName|FollowByName]](), which has been removed from the API.
* For historical reference, see also [[API FollowByName|FollowByName]](), which has been removed from the API.

Revision as of 04:31, 12 February 2017

WoW API < FollowUnit

Start following an allied unit

FollowUnit("unit")

Arguments

unit
String - the UnitID to follow, e.g. "target", "party1", "raid1", etc..

Details

  • It is not possible to stop following someone from a script. The player needs to take action (move, jump, sit, whatever). See the discussion page. ( FollowUnit("player") )
  • For historical reference, see also FollowByName(), which has been removed from the API.