Returns the index of the selected character in the player's friends list. Selection in the Friends list is used only for display in the default UI and has no effect on other Friends list APIs.


See also Social functions.

Signature:

index = GetSelectedFriend()

Returns:

  • index - Index of the selected character in the Friends list (between 1 and GetNumFriends()) (number)