Beginning conversation on module load?

Hi! I’ve dug through almost all the resources I could find for the answer to this, but I couldn’t figure it out. It’s possible I just don’t know what I’m looking for, too, since I am basically a complete newbie at the toolset.

But, anyway, how would I go about creating a conversation that starts as soon as the module is first begun? For example, when you begin HotU, it starts with a self conversation. I can’t figure out how to replicate that.

Have you looked at the scripting FAQ (frequently asked questions with answers)? The answer you want may well be in there. Thing is you will have to write a script to do what you want. Are you up to that or do you think you’ll need someone to write it for you?

FWIW did you check these two pinned threads of links to stuff in your search?

TR

Thanks for the help! I didn’t find what I was looking for in the FAQs, but it set me on the right track. I ended up using LS’s Script Generator, and that worked. I do eventually want to learn how to do my own scripting, and I’ve also been working through some of the tutorials you linked. :slight_smile: Thanks again!

Well done. If you haven’t already, grab the lexicon (note there is also a link to the online version on the project page). The tutorials in there should get you scripting after a little practice. If you want to understand why you do stuff that you do in scripting, grab the four tutorials that I wrote. The first is this one. The other 3 are linked to on that page.

TR

@Bearserker sounds like problem solved.

As you probably now appreciate, strictly speaking, you can’t start a conversation on module load, because at that time the module exists but the PC doesn’t. Nor can you start it on client enter, because the engine is still initialising stuff. What works is the OnEnter event for the area or a trigger (the former benefitting from a 2 second delay in my experience).

The PC can start a conversation with themself, or an invisible object with a suitable portrait, as you prefer.

1 Like

Yep! That was a major aha moment.

I’ve got 'em! I’m going to look over your tutorials too- I’m definitely one of those people that needs to understand why things are done the way they are, so that sounds perfect for me.

1 Like