Wikia

WoWWiki

API GetSelectedFriend

Talk0
101,536pages on
this wiki
Revision as of 18:02, November 2, 2007 by Pcj (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)
WoW API < GetSelectedFriend

Returns the index of the currently selected friend.

friendIndex = GetSelectedFriend()

Parameters Edit

Returns Edit

friendIndex
friendIndex 
Integer - The index (1-based) of the friend which is currently selected (highlighted) on the friend list. Will return 0 if you have no friends.

Details Edit

This function is necessary because indexes can change in response to friend status updates.

Around Wikia's network

Random Wiki