[DiscordArchive] Is there an example to pop up a gossip dialogue out of nowhere, in my case when the player is runnin
[DiscordArchive] Is there an example to pop up a gossip dialogue out of nowhere, in my case when the player is runnin
Archived author: jintao41 • Posted: 2022-11-05T14:45:28.892000+00:00
Original source
I forgot that you have to start the script with
```lua
local MenuId = 90000001 -- Unique ID to recognice player gossip menu among others
```
Archived author: Foe • Posted: 2022-11-05T14:45:39.064000+00:00
Original source
Stuff that is normally handled by creature and object gossip automatically
Archived author: Foe • Posted: 2022-11-05T14:46:18.692000+00:00
Original source
Jintao has that in his gossip select example, with a proper comment, so
Archived author: Honey • Posted: 2022-11-05T14:48:07.941000+00:00
Original source
Cheers guys, I'll try that after my teams football match
Archived author: jintao41 • Posted: 2022-11-05T15:18:04.549000+00:00
Original source
I did read through a lot of scripts from different repos, the gossip out of nowhere was from <@234784691608092682> (thanks btw!), his Assistant script to be precise. I used a few bits here and there to create a menu for myself
Archived author: jintao41 • Posted: 2022-11-05T15:22:58.191000+00:00
Original source
As soon as I understand tables in general so my scripts aren't hundreds of lines I'll clean them up and publish a repo with my scripts. For now I'm not yet comfortable In time, I guess
Archived author: Foe • Posted: 2022-11-05T15:24:00.702000+00:00
Original source
https://www.lua.org/cgi-bin/demo Good quick tool for prototyping and logic testing
Archived author: Foe • Posted: 2022-11-05T15:25:01.049000+00:00
Original source
And tables store values in a key-value pair, keys can be either numbers or strings, values can be pretty much anything but userdata
Archived author: Revision • Posted: 2022-11-05T17:03:06.954000+00:00
Original source
I'm glad it helped someone in some way! That's the reason why I even make my stuff public. Even if someone doesn't want to use the entire thing, they can grab bits and bobs to create their own.