Hi,
Hi, I'm having trouble getting the tutorial menu to display the correct text that I wrote in a Dialogue:Play Speech action. I translated and gathered the text using a translation tool, and now I’m trying to use "Menu: Update Content" to show the line ID. Despite spending hours on this, I'm stuck and not sure what else to try. Any help would be greatly appreciated!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
just passing by, sorry chris for the intrusion. Maybe you can rely on setting a global variable, string type and linking it to both the label type in your menu element and to the play speech action with the token [var:xx]. you can then change that anytime with the set variable action.
Just out of my hat, hope it works.
Hi, I thought about that but I was hoping I could just add the texts in an actionList and just refer that ID to the menu field and and to the menu update content action.
Thanks for the comment.
What is the fundamental issue? That it shows the original line text, but not the translation?
Uncheck Pre-process tokens? - this causes the text to be converted (i.e. tokens processed) before passing it onto the Menu, so it'll only ever show the text as it was at the time of running the Action.
Unless you're involving other features of speech text, however (i.e. voice audio, lipsyncing etc), you don't need to go about it this way. If you create a Global PopUp variable, you can enter in each of the tutorial texts as different values, translate the variable, have the Menu show the variable via a token, and then just use the Variable: Set Action to switch its value and update the label.
Ok, so I was obviously over complicating things.
Just out curiosity, why the [lineID] value is not taken from the existing dialogue action and injected into the Text field of the Menu:Status Update?
What is the exact behaviour you're getting when attempting this?
My bad. I was doing something wrong in the process, and the injected parameter with [lineID] wasn't working. Now, I'm trying to reproduce it, and it works just fine.