WoW:API FollowByName: Difference between revisions
Jump to navigation
Jump to search
(you can follow your target you mark) |
m (Move page script moved page API FollowByName to API FollowByName without leaving a redirect) |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{API | {{wowapi}} __NOTOC__ | ||
{{removedapi|2.0.1|Instead use [[API FollowUnit|FollowUnit]]}} | |||
Start following a player by their name. | |||
FollowByName("name", exactMatch); | |||
== Parameters == | |||
===Arguments=== | |||
:("name", exactMatch) | |||
:;name : String - The [[API TYPE PlayerName|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 [[Talk: API FollowUnit|{{discussiontab}} page]] for FollowUnit(). | |||
* See also [[API FollowUnit|FollowUnit]]() |
Latest revision as of 04:45, 15 August 2023
← WoW API < FollowByName
This is no longer a part of the World of Warcraft API.
|
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().
- See also FollowUnit()