#Custom Bar Color Code Block?

4 messages · Page 1 of 1 (latest)

sinful spire
#

I have a progress bar in which I want to have a different color based on a Lua code block. However I can't locate any section which allows me to define a color like %c and then write a Lua callback block.

How is this done?

For example, hypothetically let's say I want my progress bar to be blue if it is midnight->6am, red if 6am->noon, green if noon->6pm, purple if 6pm->midnight. It's easy to retrieve the clock, but I can't locate any custom code to allow me to edit the bar color.

tight bay
#

if it has to be through code you can change it thru aura_env.region:Color(r,g,b,a) but generally recommended to do it through conditions