AddOn Studio Wiki
Advertisement

WoW API < SetSelectedFriend

Update the current selected friend

SetSelectedFriend(friendIndex)

Parameters[]

Arguments[]

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

Returns[]

nil


Details[]

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