v0.13.8

C_GossipInfo.SelectOptionByIndex

functionimplementedavailable in: camelot

Selects a gossip option by its position in the list, as C_GossipInfo.SelectOption does by its ID. · description by wowlua

signaturewowlua
function C_GossipInfo.SelectOptionByIndex(    optionID: number,    text: string?,    confirmed: boolean?)

Parameters

nametypedescription
optionIDnumberorderIndex from C_GossipInfo.GetOptions()
textstring?Text to send with the option, for options that ask for it.
confirmedboolean?Whether the player already confirmed the option.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (GossipInfo system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry. Parameter and result notes: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.