Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] How would we go about calling the script from the gossip?

[DiscordArchive] How would we go about calling the script from the gossip?

[DiscordArchive] How would we go about calling the script from the gossip?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
10-18-2022, 06:12 PM
#1
Archived author: envvy • Posted: 2022-10-18T18:12:31.802000+00:00
Original source

How would we go about calling the script from the gossip?
rektbyfaith
10-18-2022, 06:12 PM #1

Archived author: envvy • Posted: 2022-10-18T18:12:31.802000+00:00
Original source

How would we go about calling the script from the gossip?

rektbyfaith
Administrator
0
10-18-2022, 06:12 PM
#2
Archived author: Revision • Posted: 2022-10-18T18:12:42.597000+00:00
Original source

I guess you just use OnGossipSelect
rektbyfaith
10-18-2022, 06:12 PM #2

Archived author: Revision • Posted: 2022-10-18T18:12:42.597000+00:00
Original source

I guess you just use OnGossipSelect

rektbyfaith
Administrator
0
10-18-2022, 06:12 PM
#3
Archived author: Kitzunu • Posted: 2022-10-18T18:12:47.926000+00:00
Original source

the gossip hook takes values from DB
rektbyfaith
10-18-2022, 06:12 PM #3

Archived author: Kitzunu • Posted: 2022-10-18T18:12:47.926000+00:00
Original source

the gossip hook takes values from DB

rektbyfaith
Administrator
0
10-18-2022, 06:12 PM
#4
Archived author: Revision • Posted: 2022-10-18T18:12:48.711000+00:00
Original source

and not any adds
rektbyfaith
10-18-2022, 06:12 PM #4

Archived author: Revision • Posted: 2022-10-18T18:12:48.711000+00:00
Original source

and not any adds

rektbyfaith
Administrator
0
10-18-2022, 06:12 PM
#5
Archived author: Kitzunu • Posted: 2022-10-18T18:12:57.481000+00:00
Original source

yep
rektbyfaith
10-18-2022, 06:12 PM #5

Archived author: Kitzunu • Posted: 2022-10-18T18:12:57.481000+00:00
Original source

yep

rektbyfaith
Administrator
0
10-18-2022, 06:13 PM
#6
Archived author: envvy • Posted: 2022-10-18T18:13:30.603000+00:00
Original source

ah, so the .cpp would need to be updated to look for that gossip being selected. Nothing I can do at this point then, I can barely read C let alone write it
rektbyfaith
10-18-2022, 06:13 PM #6

Archived author: envvy • Posted: 2022-10-18T18:13:30.603000+00:00
Original source

ah, so the .cpp would need to be updated to look for that gossip being selected. Nothing I can do at this point then, I can barely read C let alone write it

rektbyfaith
Administrator
0
10-18-2022, 06:13 PM
#7
Archived author: Revision • Posted: 2022-10-18T18:13:54.173000+00:00
Original source

I'm going to look into it, just need to boot up a snapshot of my dev vm
rektbyfaith
10-18-2022, 06:13 PM #7

Archived author: Revision • Posted: 2022-10-18T18:13:54.173000+00:00
Original source

I'm going to look into it, just need to boot up a snapshot of my dev vm

rektbyfaith
Administrator
0
10-18-2022, 06:13 PM
#8
Archived author: Kitzunu • Posted: 2022-10-18T18:13:55.513000+00:00
Original source

<@234784691608092682> f.ex this is hardcoded. The Yell text should be fetched from the database. Same goes for gossips
[Image: unknown.png?ex=690c3ca3&is=690aeb23&hm=d...353e6a456&]
rektbyfaith
10-18-2022, 06:13 PM #8

Archived author: Kitzunu • Posted: 2022-10-18T18:13:55.513000+00:00
Original source

<@234784691608092682> f.ex this is hardcoded. The Yell text should be fetched from the database. Same goes for gossips
[Image: unknown.png?ex=690c3ca3&is=690aeb23&hm=d...353e6a456&]

rektbyfaith
Administrator
0
10-18-2022, 06:14 PM
#9
Archived author: Revision • Posted: 2022-10-18T18:14:28.536000+00:00
Original source

Alright so I don't touch the db but add a script for the pumpkin, add it to the pumpkin and use OnGossipSelect to trigger the spawn when the DB gossip is clicked.
rektbyfaith
10-18-2022, 06:14 PM #9

Archived author: Revision • Posted: 2022-10-18T18:14:28.536000+00:00
Original source

Alright so I don't touch the db but add a script for the pumpkin, add it to the pumpkin and use OnGossipSelect to trigger the spawn when the DB gossip is clicked.

rektbyfaith
Administrator
0
10-18-2022, 06:14 PM
#10
Archived author: Revision • Posted: 2022-10-18T18:14:50.496000+00:00
Original source

That's the general idea anyway
rektbyfaith
10-18-2022, 06:14 PM #10

Archived author: Revision • Posted: 2022-10-18T18:14:50.496000+00:00
Original source

That's the general idea anyway

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