WoW:API FollowByName: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(→‎Details: Not possible to stop following. Point at FollowUnit.)
(added to removed category)
Line 1: Line 1:
{{wowapi}} __NOTOC__
{{wowapi}} __NOTOC__
{{removedapi|2.0.1|Instead use [[API FollowUnit|FollowUnit]]}}


Start following a player by their name.
Start following a player by their name.

Revision as of 10:29, 3 August 2007

WoW API < FollowByName

Start following a player by their name.

FollowByName("name", exactMatch);


Parameters

Arguments

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

Example

FollowByName("Norrin", true);

Details

  • 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().