WoW:API SelectGossipOption: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{wowapi}}
{{wowapi}}
 
Selects a gossip (conversation) option.
Selects a gossip item.
 
  SelectGossipOption(index)
  SelectGossipOption(index)


==Parameters==
==Arguments==
===Arguments===
;index : Number - Index of the gossip option to select, from 1 to {{api|GetNumGossipOptions}}(); order corresponds to the order of return values from {{api|GetGossipOptions}}().
 
:;index : Number - Specifies the quest corresponding to the numbers of [[API_GetGossipOptions|GetGossipOptions()]], indexed starting at 1.
 
===Returns===
Nothing.
 
==Example==
SelectGossipOption(1)__NOTOC__

Revision as of 23:15, 4 April 2010

WoW API < SelectGossipOption

Selects a gossip (conversation) option.

SelectGossipOption(index)

Arguments

index
Number - Index of the gossip option to select, from 1 to GetNumGossipOptions(); order corresponds to the order of return values from GetGossipOptions().