[DiscordArchive] hi, I'm trying to create a npc with a gossip menu. I set the force gossip type_flag and gossip npcfl
[DiscordArchive] hi, I'm trying to create a npc with a gossip menu. I set the force gossip type_flag and gossip npcfl
Archived author: kvaris • Posted: 2023-07-22T20:25:55.660000+00:00
Original source
hi, I'm trying to create a npc with a gossip menu. I set the force gossip type_flag and gossip npcflag. the function is essentialy this:
```
player:GossipMenuAddItem(0, "Just Testing", 0, 0)
player:GossipSendMenu(1, unit)
```
the function gets called and I don't have any errors but the menu doesn't show up. what did I miss?
Archived author: Foe • Posted: 2023-07-22T20:27:36.545000+00:00
Original source
Some gossip icons automatically fire if you only have a single gossip entry
Archived author: kvaris • Posted: 2023-07-22T20:37:11.884000+00:00
Original source
Multiple options solved it. thank you.
Archived author: Foe • Posted: 2023-07-22T20:38:04.490000+00:00
Original source
you can also change the first 0 to as an example 1 and it wouldn't automatically trigger
Archived author: kvaris • Posted: 2023-07-22T20:40:17.410000+00:00
Original source
I had a 1 before. It was from a module on github. but it didn't work so I changed it to 0. I just startet with gossip, now that it works I can dive deeper