Additional JS event - HUD element value changed
Posted: Fri Jun 26, 2015 8:11 am
Would it be possible to have an event to trigger whenever a change occurs on various HUD elements? For instance, speed increase/decrease, shield up/down, energy bank increase/decrease, that sort of thing. I've been playing around with creating a HUD with custom dials, and was trying to get a curved bar for things like speed, but when using a timer to check for changes the bar moves in a rather jerky way. There doesn't appear to be anyway to achieve this without using a timer, and I imagine running a timer for HUD elements would be quite a drain on resources. If there was an event the custom speed bar could be animated smoothly.
Of course, there might already be a way to do this - feel free to point out my ignorance! And if it's not possible, that's fine too. I'll stick with vertical/horiztonal bars!
Of course, there might already be a way to do this - feel free to point out my ignorance! And if it's not possible, that's fine too. I'll stick with vertical/horiztonal bars!