[DiscordArchive] Oh wait to create your own?
[DiscordArchive] Oh wait to create your own?
Archived author: Krutok • Posted: 2023-12-17T14:39:54.016000+00:00
Original source
<@200677690838220800>why can't you choose the taxi icon as the gossip option? Because if I take that I don't see any options anymore.
Archived author: Tea • Posted: 2023-12-17T14:41:13.731000+00:00
Original source
client automatically selects certain gossip menu options if the menu contains only 1 option
Archived author: Tea • Posted: 2023-12-17T14:43:31.625000+00:00
Original source
the ones that have flags 0x1 here will be automatically picked <https://wago.tools/db2/GossipNPCOptionDisplayInfo?sort[GossipNpcOption]=asc> (GossipNpcOption column is this icon enum <https://github.com/TrinityCore/TrinityCore/blob/acf5ce58a7d3ced306eeebd60dbc36732b21ad56/src/server/game/Entities/Creature/GossipDef.h#L58C24-L82>)
Archived author: Krutok • Posted: 2023-12-17T14:47:39.251000+00:00
Original source
Ahh ok, I didn't know that, I added a second menu and that worked. Now I can also see the taxi icons. Thank you
Archived author: Meji • Posted: 2023-12-17T16:10:10.592000+00:00
Original source
you can use CREATURE_TYPE_FLAG_FORCE_GOSSIP for cases where you have only 1 option