WoW:API GetGossipOptions: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Move page script moved page API GetGossipOptions to API GetGossipOptions without leaving a redirect) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{wowapi}} | |||
Get the available gossip items on an NPC (possibly stuff like the BWL and MC orbs too). | Get the available gossip items on an NPC (possibly stuff like the BWL and MC orbs too). | ||
title1, gossip1 = GetGossipOptions() | title1, gossip1 = GetGossipOptions() | ||
Line 13: | Line 10: | ||
=== Returns === | === Returns === | ||
;''Returns'' | ;''Returns'' | ||
:title1, gossip1[, title2, gossip2 ...] | :title1, gossip1[, title2, gossip2 ...] | ||
:;title# : String - The title of the gossip item. | :;title# : String - The title of the gossip item. | ||
:;gossip# : String - The gossip type: gossip, | :;gossip# : String - The gossip type: banker, battlemaster, binder, gossip, healer, petition, tabard, taxi, trainer, unlearn, or vendor | ||
== Details == | == Details == | ||
The gossip options are available after [[Events D-G (Delete, Display, Duel, Equip, Execute, FriendList, Gossip, Guild)#GOSSIP_SHOW|GOSSIP_SHOW]] has fired. | The gossip options are available after [[Events D-G (Delete, Display, Duel, Equip, Execute, FriendList, Gossip, Guild)#GOSSIP_SHOW|GOSSIP_SHOW]] has fired. | ||
__NOTOC__ | __NOTOC__ | ||
Latest revision as of 04:45, 15 August 2023
Get the available gossip items on an NPC (possibly stuff like the BWL and MC orbs too).
title1, gossip1 = GetGossipOptions()
Parameters[edit]
Arguments[edit]
None.
Returns[edit]
- Returns
- title1, gossip1[, title2, gossip2 ...]
- title#
- String - The title of the gossip item.
- gossip#
- String - The gossip type: banker, battlemaster, binder, gossip, healer, petition, tabard, taxi, trainer, unlearn, or vendor
Details[edit]
The gossip options are available after GOSSIP_SHOW has fired.