WoW:API TargetByName

From AddOn Studio
Revision as of 19:06, 28 December 2004 by WoWWiki>Flickering (New document)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
TargetByName -Documentation by Flickering-
TargetByName("name");

Target a player by their name.


Arguments
("name")
name
String - The API TYPE PlayerName name of the player to target.

Example
TargetByName("Norrin");

Details
It's probably worth testing what happens if the name isn't close by, or doesn't exist, or is an enemy or NPC, etc. -- Flickering 14:06, 28 Dec 2004 (EST)

Template:WoW API