WoW:API SelectGossipOption: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API SelectGossipOption to API SelectGossipOption without leaving a redirect)
 
(5 intermediate revisions by 5 users not shown)
Line 1: Line 1:
  <center>'''SelectGossipOption''' ''-Documentation by [[User:Gxam|Gxam]]-''</center>
{{wowapi}}
Selects a gossip (conversation) option.
  SelectGossipOption(index)


Selects a gossip item.
==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}}().
SelectGossipOptions(index)
 
==Parameters==
===Arguments===
 
:;index : Number - Specifies the quest corresponding to the numbers of [[API_GetGossipOptions|GetGossipOptions()]], indexed starting at 1.
 
===Returns===
Nothing.
 
==Example==
SelectGossipOption(1)
 
----
{{WoW API}}
__NOTOC__

Latest revision as of 04:47, 15 August 2023

WoW API < SelectGossipOption

Selects a gossip (conversation) option.

SelectGossipOption(index)

Arguments[edit]

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