Godot Version
v4.2.1.stable.official [b09f793f5]
Question
Is there a simple way to change the way Godot shows that a word in your rich text has a hint. The default is kind of subdued and I want it to be more obvious that my players can hover over a word and get a hint about it’s meaning. I looked in the documentation but couldn’t find anything on this topic.
1 Like
I’ve tried loading a rich text effect with this script but It doesn’t work for some reason. I have several tags formatted in the same way and they work fine but hint is a more complex tag and is probably handled differently than something like [player][/player] not sure what else to try… 
extends RichTextEffect
class_name HintTextColor
var bbcode := "hint"
func _process_custom_fx( char_fx : CharFXTransform ) -> bool :
var color = Color.WHITE
char_fx.color = color
return true