Replies: 1 comment
-
I think I have figured it out. The .color property of lights seems to be a 3 element array (for red, green, blue). This seems to work:
Greg |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
What is the syntax for conditional events checking for light color? According to the mpf spec, light color is monitorable via device.lights.[name].color.
I currently have the following. The SM transitions when shot_plunger_lane_exit_hit is fired without the conditional. But when I want to check if my 6th GI light is white, the state never changes. I've tried both ==white and =="white", neither work. Suggestions?
I have a show that plays during skill shot:
Greg
Beta Was this translation helpful? Give feedback.
All reactions