Force not checking the translation for a string

Started by Baguettator, Wed 27/09/2023 05:53:08

« previous - next »

Baguettator

Hi there !

Simple question : if I remember well, it is possible in AGS to "force" a string to keep its basic value without using its translation, even if a translation is currently used by the player. Like doing it :

Code: ags
String a="Bonjour";

function Say(String s)
{
Display(s); // if s=a, I want to display "Bonjour", but not "Hello" even if I selected the English translation of my game
}

Is it possible in AGS ?

Snarky

You might try
Code: ags
Display(String.Format("%s",s));

SMF spam blocked by CleanTalk