WoW API: FollowByName

From AddOn Studio
Revision as of 04:45, 15 August 2023 by Move page script (talk | contribs) (Move page script moved page API FollowByName to API FollowByName without leaving a redirect)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

WoW API < FollowByName

Start following a player by their name.

FollowByName("name", exactMatch);


Parameters[edit]

Arguments[edit]

("name", exactMatch)
name
String - The name of the player to follow.
exactMatch
Boolean

Example[edit]

FollowByName("Norrin", true);

Details[edit]

  • If the given player name isn't nearby or doesn't exist, and exactMatch isn't set, FollowByName picks the closest match from characters nearby.
  • 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 for FollowUnit().