WoW:API GetGossipOptions: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
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 ...] | ||
Line 22: | Line 18: | ||
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__ | ||
Revision as of 20:21, 21 June 2006
Get the available gossip items on an NPC (possibly stuff like the BWL and MC orbs too).
title1, gossip1 = GetGossipOptions()
Parameters
Arguments
None.
Returns
- Returns
- title1, gossip1[, title2, gossip2 ...]
- title#
- String - The title of the gossip item.
- gossip#
- String - The gossip type: gossip, banker, battlemaster, taxi, trainer, or vendor
Details
The gossip options are available after GOSSIP_SHOW has fired.