I'm making a custom GUI HUD and I want it to light up when I turn the lights on.

Mark

Well-known member
Joined
Mar 13, 2018
Messages
374
Tachometer/speedo background is easy enough to do, because it can be a "lamp" linked to the state of the lights.

But the needle is already linked to rotate with the RPM and I can't make it a lamp. How do I swap the texture of the needle?

problem.png

So, this was something I wanted to do, and a genuine problem and I was going to post the topic, but I figured out a janky solution and here it is for future reference:



Have square on top of tacho.
Have a rectangle with two needles in that square.
Translate it left/right when the lights are on.
Only one needle is shown because the square is a bounding box.
 
Back
Top