WoW:API SetSelectedFriend: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API SetSelectedFriend to API SetSelectedFriend without leaving a redirect)
 
(No difference)

Latest revision as of 04:47, 15 August 2023

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.