Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: nightmarer on Fri 20/05/2022 22:56:59

Title: All NPC texts are in white
Post by: nightmarer on Fri 20/05/2022 22:56:59
Hello.
Every NPC in my game is displaying every "Say" text in white, in spite they have another color selected in Speech.Color.
[imgzoom]https://i.imgur.com/oYnxsoR.png[/imgzoom]
[imgzoom]https://i.imgur.com/UR4M12o.png[/imgzoom]
[imgzoom]https://i.imgur.com/H3ggYk5.png[/imgzoom]
Why is this happening?
Title: Re: All NPC texts are in white
Post by: eri0o on Sat 21/05/2022 01:17:46
Are you using a Transparent TextBox GUI? Speech text when using textbox GUI is decided by the TextBox text color. You need to create your own speak function that sets the color appropriately.
Title: Re: All NPC texts are in white
Post by: nightmarer on Sat 21/05/2022 08:00:28
Yes, you nailed. It was an script controlling it. Thank you.