Solarus-Games English Forum

Solarus => Development => Topic started by: jojo_f on February 09, 2018, 02:47:08 AM

Title: NPC Dialogue
Post by: jojo_f on February 09, 2018, 02:47:08 AM
Hello, I am trying to replicate Solarus Tutorial [en] - Basics #18: Dialogs with a non-playing characteracter https://www.youtube.com/watch?v=KyF4LB1YOSY&list=PLzJ4jb-Y0ufxwkj7IlfURcvCxaDCSecJY&index=18 (https://www.youtube.com/watch?v=KyF4LB1YOSY&list=PLzJ4jb-Y0ufxwkj7IlfURcvCxaDCSecJY&index=18) and for some reason, it is just not working. I am a real beginner so thanks for any help. Here is three screenshots.


(https://i.imgur.com/vBspq6j.jpg)
(https://i.imgur.com/TZMciHj.jpg)
(https://i.imgur.com/N4HhUff.jpg)
Title: Re: NPC Dialogue
Post by: llamazing on February 09, 2018, 03:54:02 AM
Make sure you have the following line in main.lua in the sol.main:on_started() function
Code ( lua) Select
sol.language.set_language("en")
Title: Re: NPC Dialogue
Post by: jojo_f on February 09, 2018, 04:04:24 AM
Thank you  :)