Forum rules - please read before posting.

get translation from component string var

Hi Chris,

I am using script to get componet string var value. But no matter i use .GetValue() or .TextValue, it still only get the original value. I have already set the component var translated. and already gather speech and with proper translation text input in the speech manager. I still can't get the correct translation value form the component string var. so, how can i get by script. Thanks. I try to ust actionlist to copy componet text var to gobal string var. and it can show. but in script, it can't. pls help, thanks

Comments

  • Use GetValue, passing in the language you wish to use. For the current language:

    .GetValue(Options.GetLanguage())
    
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.