Forum rules - please read before posting.

Conversation Dialogue Option Labels use Variable Tokens?

Is it possible to let the Labels in the Conversations Dialogue Options use variable tokens?

...Well, I know it's possible, and I've already hacked it in myself, but I mean, officially in an AC release sometime? I'm certain my hack isn't 100%, either.



For now I've edited the "Conversation.cs" on line 270 from:

return (KickStarter.runtimeLanguages.GetTranslation (options[i].label, options[i].lineID, Options.GetLanguage ()));

to:

return (AdvGame.ConvertTokens(KickStarter.runtimeLanguages.GetTranslation (options[i].label, options[i].lineID, Options.GetLanguage ())));

Comments

  • I'll consider it - but it'd pretty much be the hack you've made already.  Does it not work for you 100% of the time?
  • Oh, no, it does! I just thought I might have put it in the wrong place, or could have done it differently, as I am not intimate with the entire Adventure Creator code.

    Awesome. I'll just leave myself some notes for when I upgrade to put that hack back in.

    Thanks!
  • No need - it's a good suggestion, and I'll add it in the next release.
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.