Fandom

WoWWiki

API SetSelectedFriend

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

WoW API < SetSelectedFriend

Update the current selected friend

SetSelectedFriend(friendIndex)

Parameters Edit

Arguments Edit

(friendIndex)
friendIndex 
Integer - The index (1-based) of the friend which is is to become selected.

Returns Edit

nil


Details Edit

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

Also on Fandom

Random Wiki