Custom death notices drawn with SimpleText fade out all SimpleText.
0 replies, posted
I have custom death notices in a game mode I'm working on and I'm noticing odd behavior.
The custom notice victim/attacker text is drawn with [B]draw.SimpleText[/B], but when they fade out, every other instance of SimpleText is faded out in different VGUI panels.
If the death notice is still visible, I can open the other panels and watch the text fade out with the notice.
All of my SimpleText drawings are called in Paint of each element that needs it.
Any ideas?
[editline]18th May 2016[/editline]
Figured it out (I think).
Don't use predefined colors in AddDeathNotice.
Seems that anything else that uses that predefined color will fade with it.
Sorry, you need to Log In to post a reply to this thread.