Forum rules - please read before posting.

Translating Custom Actionlist Text

We set up a sort of "System messages" custom text box that is unique from the dialogue/speech window. And I notice the gather text function does not catch it. Is there a simple way to get text entered in from a custom actiontype within an actionlist asset translatable?

Comments

  • Yes - both Actions and MonoBehaviour scripts can implement the ITranslatable interface to have them be picked up by the gather text process.

    For more, see the Manual's "Custom translatables" chapter, as well as the CustomTranslatableExample sample script.

  • I see, so, if the text is written in the actionlist itself (for example, I create a node, select our custom "system message script" and in the parameter type out what the message is). I need to add some code to our system message script to make it translatable?

  • You need to inform AC that the text within the Action that it can be translated, yes. Implementing from ITranslatable tells AC which text is up for translation, what its type is, etc, as well as provide functions to update it externally.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.