Can someone help me with the Designing a Dialog Tree article

I am stuck here


Where do I put that code?

What do you mean “where do I put that code”? The wiki examples are a starting ground / example / explanation showing you how you would do something. It is not there for just copying and pasting into scripts. If that is not what you mean, then it has to be in a server sided script, wherever you want to place it, as long as it is organized and can access what is necessary.

I know it’s not there for copying and pasting I am asking after I edit it where would that go? Like in the rig?

Server script service? Lets move to dms. @Wunder_Wulfe

It can go literally anywhere you want (as long as it runs). You just want to have good structure in your code. For example, you might have a module that stores information about dialog and conversations, and in a main framework script, eventually end up initiating / loading the conversation onto an NPC. It would be really awkward for your framework script to be in some random object so in this case it would be best to put it where all the other core game logic has gone.

Wait so it goes in #where? 30 CHARSS!