WoW API: SetSelectedFriend

From AddOn Studio
Revision as of 18:02, 2 November 2007 by WoWWiki>Pcj
Jump to navigation Jump to search

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.