Hi Tony
I think there was an issue introduced with the newest Text Mesh Pro integration.
Any of the nodes that have NPC text and a SendMessage() sequencer command fail to display text in game play. This was working in the previous package but since updating two days ago the nodes have stopped diaplaying text.
Also on this subject, is it possible to send multiple sequencer commands from a single node? Or is only one available?
Thanks in advance
Nathan
SendMessage() error with Textesh Pro integration
Re: SendMessage() error with Textesh Pro integration
Hi Nathan,
You can use multiple sequencer commands in a single node. Separate them with semicolons ( ; ).
The node's text is shown for the duration of its Sequence. If you set a node's Sequence to Delay(5), the node will appear for 5 seconds.
The SendMessage() sequencer command sends a message and then immediately finishes. If the node's Sequence only has a SendMessage() sequencer command, its duration is 0 seconds. This won't allow any time for the node's text to appear.
Try a sequence like this:
Or you can use the special keyword {{default}}, which represents the value of the Dialogue Manager's Default Sequence field. So:
You can use multiple sequencer commands in a single node. Separate them with semicolons ( ; ).
The node's text is shown for the duration of its Sequence. If you set a node's Sequence to Delay(5), the node will appear for 5 seconds.
The SendMessage() sequencer command sends a message and then immediately finishes. If the node's Sequence only has a SendMessage() sequencer command, its duration is 0 seconds. This won't allow any time for the node's text to appear.
Try a sequence like this:
- Sequence:
Code: Select all
SendMessage(Something,,Someone); Delay({{end}})
Or you can use the special keyword {{default}}, which represents the value of the Dialogue Manager's Default Sequence field. So:
- Sequence:
Code: Select all
SendMessage(Something,,Someone); {{default}}
- Sequence:
Code: Select all
SendMessage(Something,,Someone); AudioWait(entrytag)
- Sequence:
Code: Select all
SendMessage(Something,,Someone); AudioWait(entrytag)
- Sequence:
Code: Select all
Audio(Beep); Audio(Boop)@2
Re: SendMessage() error with Textesh Pro integration
Thanks again for such a thorough response, Tony.
I should have know some of this and probably could have found it if I had look in the documentation. So apologies for that.
This is so helpful. Just hooked up a method that allows me to remove and add inventory items in ultimate survival through the SendMessage() command. It’s very awesome.
Thanks again for such a comprehensive and robust program.
Nathan
I should have know some of this and probably could have found it if I had look in the documentation. So apologies for that.
This is so helpful. Just hooked up a method that allows me to remove and add inventory items in ultimate survival through the SendMessage() command. It’s very awesome.
Thanks again for such a comprehensive and robust program.
Nathan
Re: SendMessage() error with Textesh Pro integration
Thanks!
And I'm happy to help! The Dialogue System has a lot of documentation. Don't hesitate to ask questions. It's often easier to just ask instead of digging through pages of documentation.
And I'm happy to help! The Dialogue System has a lot of documentation. Don't hesitate to ask questions. It's often easier to just ask instead of digging through pages of documentation.