Define Carracter with condition.
Posted: Thu Apr 18, 2019 11:20 am
Hello all,
This is my problem. I want to make a multi-language games.
This is my exemple code for dialogue in the game :
bob "[dia1]"
and this is my code for dialogue :
define dia1 = Character("Hello!")
define dia2 = Character("Very nice...")
etc ...
I have a option in the beginning (for english_langu or french_langu). I want to change the "dia1" with condition. I test this code but it disn't work ....
if english_langu:
define dia1 = Character("Hello!")
define dia2 = Character("Very nice...")
if french_langu:
define dia1 = Character("Bonjour!")
define dia1 = Character("Très jolie...")
Sorry for my english ...
This is my problem. I want to make a multi-language games.
This is my exemple code for dialogue in the game :
bob "[dia1]"
and this is my code for dialogue :
define dia1 = Character("Hello!")
define dia2 = Character("Very nice...")
etc ...
I have a option in the beginning (for english_langu or french_langu). I want to change the "dia1" with condition. I test this code but it disn't work ....
if english_langu:
define dia1 = Character("Hello!")
define dia2 = Character("Very nice...")
if french_langu:
define dia1 = Character("Bonjour!")
define dia1 = Character("Très jolie...")
Sorry for my english ...