WoW:API TargetByName: Difference between revisions
Jump to navigation
Jump to search
TargetByName -Documentation by Flickering-
(New document) |
mNo edit summary |
||
Line 20: | Line 20: | ||
: 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. -- [[User:Flickering|Flickering]] 14:06, 28 Dec 2004 (EST) | : 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. -- [[User:Flickering|Flickering]] 14:06, 28 Dec 2004 (EST) | ||
: If the user isn't nearby or doesn't exist, TargetByName seems to pick the closest match from characters nearby. It is unknown if TargetByName returns any value if succesful or not. --[[User:Nightspark|Nightspark]] 20:29, 7 Jan 2005 (EST) | |||
---- | ---- | ||
{{Template:WoW API}} | {{Template:WoW API}} | ||
[[Category:API Targetting Functions|TargetByName]] | [[Category:API Targetting Functions|TargetByName]] |
Revision as of 01:29, 8 January 2005
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)
- If the user isn't nearby or doesn't exist, TargetByName seems to pick the closest match from characters nearby. It is unknown if TargetByName returns any value if succesful or not. --Nightspark 20:29, 7 Jan 2005 (EST)