[DiscordArchive] Is any part of the NPC working or is it just the item thing?
[DiscordArchive] Is any part of the NPC working or is it just the item thing?
Archived author: Revision • Posted: 2022-08-03T13:08:12.851000+00:00
Original source
Is any part of the NPC working or is it just the item thing?
Archived author: Revision • Posted: 2022-08-03T13:08:47.080000+00:00
Original source
I think your event ids are wrong, which is why I'm asking before assuming
Archived author: buggedout • Posted: 2022-08-03T13:09:38.689000+00:00
Original source
I added both NPC and Item with SQL (both id90000 as in script), i spawned the NPC, it cycles through the dialogue as expected but it never gives the item. I can use GM to .additem and it will work as intended
Archived author: Revision • Posted: 2022-08-03T13:09:51.572000+00:00
Original source
I just realized too that you're using RegisterCreatureGossipEvent but it should be RegisterPlayerGossipEvent
Archived author: buggedout • Posted: 2022-08-03T13:10:30.666000+00:00
Original source
Ok...again i just started this...kinda assumed that the scripts on AC were kinda "plug and play" ^^
Archived author: Revision • Posted: 2022-08-03T13:10:33.934000+00:00
Original source
`RegisterPlayerGossipEvent(1, eventId, functionToCall)` - that's the one I used for my lua scripts.
Archived author: Revision • Posted: 2022-08-03T13:11:17.845000+00:00
Original source
I'm curious why you're getting gossip though
Archived author: buggedout • Posted: 2022-08-03T13:13:32.970000+00:00
Original source
I initially just followed the three steps mentioned
Archived author: buggedout • Posted: 2022-08-03T13:14:04.645000+00:00
Original source
Add NPC with gossip flag, Add Item and confirmed IDs were correct
Archived author: Revision • Posted: 2022-08-03T13:14:31.301000+00:00
Original source
Did you reload the script after changing to to AddItem rather than GiveItem?