Non link font color
Samthelam
05 Jan 2012, 05:46Hi guys,
I read the directions to turn hyperlink font a different color, but I want to turn the background black (which I can do) and want to use a non hyperlink white font with it. But I can't find an option to do so in 5.02. Is there another way to do this or do you have to add a change font color menu item to Quest?
Thanks.
I read the directions to turn hyperlink font a different color, but I want to turn the background black (which I can do) and want to use a non hyperlink white font with it. But I can't find an option to do so in 5.02. Is there another way to do this or do you have to add a change font color menu item to Quest?
Thanks.

Pertex
05 Jan 2012, 08:08I dont know if this is a new feature in version 5.1. but there is a combobox "Foreground" in the display-tab of game to change the foregroundcolour.
Samthelam
05 Jan 2012, 13:34Hi Pertex,
Thanks for the suggestion but it didn't work. Alex?
Thanks for the suggestion but it didn't work. Alex?
Samthelam
07 Jan 2012, 15:16I received a private reply back from Alex. It worked! Thanks Alex!
Here is the gist of everything with some explanation I added in parenthesis.
(My problem)I have a script where I want to change one room (Darkness) to black background with white script and then change back to the default colors if the player successfully leaves the room. That's where the game doesn't work for me.
I installed Quest 5.1 (To make sure we were using the same software) and checked my IE settings (Even though one may use a different browser, IE can still affect display output see: viewtopic.php?f=10&t=2681&p=19001&hilit=EXplorer+settings#p19001) and put them the way you said. But am still having the problem.
Alex's response. Changing the foreground colour will only affect text that is printed after the colour change - existing text is unaffected. For this reason you may want to clear the screen (use the "Clear the screen" command under Output--when writing a script) before the script changing foreground/background colours.
(So here is what that portion of the script looked like after I added "Clear Screen" and placed the commands in the proper order--which worked.)
ClearScreen
SetForegroundColour ("White")
SetBackgroundColour ("Black")
msg
(Of course, when the player left the room successfuly I had to add script to change things back. It looked like this.)
ClearScreen
SetBackgroundColour ("Black")
SetForegroundColour ("White")
msg
Note: Naturally, writing the script is found in a different place than where you can change the Font color for the whole game--which is under the "Game" "Display" tab.
Here is the gist of everything with some explanation I added in parenthesis.
(My problem)I have a script where I want to change one room (Darkness) to black background with white script and then change back to the default colors if the player successfully leaves the room. That's where the game doesn't work for me.
I installed Quest 5.1 (To make sure we were using the same software) and checked my IE settings (Even though one may use a different browser, IE can still affect display output see: viewtopic.php?f=10&t=2681&p=19001&hilit=EXplorer+settings#p19001) and put them the way you said. But am still having the problem.
Alex's response. Changing the foreground colour will only affect text that is printed after the colour change - existing text is unaffected. For this reason you may want to clear the screen (use the "Clear the screen" command under Output--when writing a script) before the script changing foreground/background colours.
(So here is what that portion of the script looked like after I added "Clear Screen" and placed the commands in the proper order--which worked.)
ClearScreen
SetForegroundColour ("White")
SetBackgroundColour ("Black")
msg
(Of course, when the player left the room successfuly I had to add script to change things back. It looked like this.)
ClearScreen
SetBackgroundColour ("Black")
SetForegroundColour ("White")
msg
Note: Naturally, writing the script is found in a different place than where you can change the Font color for the whole game--which is under the "Game" "Display" tab.