Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] guys, how do I add a confirm option to this gossip menu?

[DiscordArchive] guys, how do I add a confirm option to this gossip menu?

[DiscordArchive] guys, how do I add a confirm option to this gossip menu?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
04-18-2019, 12:16 PM
#1
Archived author: Chaz • Posted: 2019-04-18T12:16:20.926000+00:00
Original source

guys, how do I add a confirm option to this gossip menu?
rektbyfaith
04-18-2019, 12:16 PM #1

Archived author: Chaz • Posted: 2019-04-18T12:16:20.926000+00:00
Original source

guys, how do I add a confirm option to this gossip menu?

rektbyfaith
Administrator
0
04-18-2019, 12:16 PM
#2
Archived author: Chaz • Posted: 2019-04-18T12:16:21.532000+00:00
Original source

player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, "Argent Crusade", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 1);
rektbyfaith
04-18-2019, 12:16 PM #2

Archived author: Chaz • Posted: 2019-04-18T12:16:21.532000+00:00
Original source

player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, "Argent Crusade", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 1);

rektbyfaith
Administrator
0
04-18-2019, 12:16 PM
#3
Archived author: Chaz • Posted: 2019-04-18T12:16:33.655000+00:00
Original source

"i.e. are you sure you want to purchase"
rektbyfaith
04-18-2019, 12:16 PM #3

Archived author: Chaz • Posted: 2019-04-18T12:16:33.655000+00:00
Original source

"i.e. are you sure you want to purchase"

rektbyfaith
Administrator
0
04-18-2019, 12:16 PM
#4
Archived author: Chaz • Posted: 2019-04-18T12:16:34.295000+00:00
Original source

?
rektbyfaith
04-18-2019, 12:16 PM #4

Archived author: Chaz • Posted: 2019-04-18T12:16:34.295000+00:00
Original source

?

rektbyfaith
Administrator
0
04-18-2019, 12:26 PM
#5
Archived author: Bogir • Posted: 2019-04-18T12:26:37.049000+00:00
Original source

<@!207901137267851264> try to use
```cpp
// Uses gossip item info from DB
void AddGossipItemFor(Player* player, uint32 gossipMenuID, uint32 gossipMenuItemID, uint32 sender, uint32 action)
{
player->PlayerTalkClass->GetGossipMenu().AddMenuItem(gossipMenuID, gossipMenuItemID, sender, action);
}
```
rektbyfaith
04-18-2019, 12:26 PM #5

Archived author: Bogir • Posted: 2019-04-18T12:26:37.049000+00:00
Original source

<@!207901137267851264> try to use
```cpp
// Uses gossip item info from DB
void AddGossipItemFor(Player* player, uint32 gossipMenuID, uint32 gossipMenuItemID, uint32 sender, uint32 action)
{
player->PlayerTalkClass->GetGossipMenu().AddMenuItem(gossipMenuID, gossipMenuItemID, sender, action);
}
```

rektbyfaith
Administrator
0
04-18-2019, 12:26 PM
#6
Archived author: Claudiodfc • Posted: 2019-04-18T12:26:56.455000+00:00
Original source

you need a function for whenever a gossip is selected and then get the GOSSIP_ACTION_INFO_DEF
rektbyfaith
04-18-2019, 12:26 PM #6

Archived author: Claudiodfc • Posted: 2019-04-18T12:26:56.455000+00:00
Original source

you need a function for whenever a gossip is selected and then get the GOSSIP_ACTION_INFO_DEF

rektbyfaith
Administrator
0
04-18-2019, 12:34 PM
#7
Archived author: Chaz • Posted: 2019-04-18T12:34:27.315000+00:00
Original source

fixed it
rektbyfaith
04-18-2019, 12:34 PM #7

Archived author: Chaz • Posted: 2019-04-18T12:34:27.315000+00:00
Original source

fixed it

rektbyfaith
Administrator
0
04-18-2019, 12:34 PM
#8
Archived author: Chaz • Posted: 2019-04-18T12:34:36.413000+00:00
Original source

sorry
rektbyfaith
04-18-2019, 12:34 PM #8

Archived author: Chaz • Posted: 2019-04-18T12:34:36.413000+00:00
Original source

sorry

rektbyfaith
Administrator
0
04-18-2019, 12:34 PM
#9
Archived author: Chaz • Posted: 2019-04-18T12:34:45.965000+00:00
Original source

player->ADD_GOSSIP_ITEM_EXTENDED(GOSSIP_ICON_CHAT, "Argent Crusade", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 1, "Are you sure you wish to purchase?", 0, false);
rektbyfaith
04-18-2019, 12:34 PM #9

Archived author: Chaz • Posted: 2019-04-18T12:34:45.965000+00:00
Original source

player->ADD_GOSSIP_ITEM_EXTENDED(GOSSIP_ICON_CHAT, "Argent Crusade", GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 1, "Are you sure you wish to purchase?", 0, false);

rektbyfaith
Administrator
0
04-18-2019, 12:34 PM
#10
Archived author: Chaz • Posted: 2019-04-18T12:34:52.749000+00:00
Original source

that worked ^
rektbyfaith
04-18-2019, 12:34 PM #10

Archived author: Chaz • Posted: 2019-04-18T12:34:52.749000+00:00
Original source

that worked ^

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)