Page 1 of 1

How do I get a "message" when the line is dismissed?

Posted: Wed Oct 05, 2022 7:08 am
by fkkcloud
Hello,

How do I get a "message" when the line is dismissed?

I am currently using Typed "message" which send "message" when the typing is done.

Code: Select all

StartTalkAnimation();
required StopTalkAnimation()@Message(Typed);
However, this was not working 100% as I desired.
I am trying to rather have the character talk until player goes to the next line.
Ideally, something like below is what I am looking for:
(Getting a "message" when the line is done and right before it goes to the next line)

Code: Select all

StartTalkAnimation();
required StopTalkAnimation()@Message(LineFinished);
p.s. I was only able to find Built In message "Typed" so far.
https://www.pixelcrushers.com/dialogue_ ... ndMessages

Re: How do I get a "message" when the line is dismissed?

Posted: Wed Oct 05, 2022 7:46 am
by Tony Li
Hi,

I think "Typed" is the only built-in message, unless I'm forgetting one.

If you use continue buttons to advance the conversation, the second sequence you proposed will work:

Code: Select all

StartTalkAnimation();
required StopTalkAnimation()@Message(LineFinished);
This is because nothing will ever send "LineFinished". However, since StopTalkAnimation() is required, it will run when the player clicks the continue button.

Re: How do I get a "message" when the line is dismissed?

Posted: Wed Oct 05, 2022 8:22 pm
by fkkcloud
Works pretty great!!!