Grouping Shots for lane change, rotation, etc.
Related Config File Sections:
Example config for lane changing lights.
#! switches:
#! lane_l:
#! number:
#! lane_a:
#! number:
#! lane_n:
#! number:
#! lane_e:
#! number:
#! upper_standup:
#! number:
##! mode: inlanes
shots:
shot_l_outlane:
switch: lane_l
show_tokens:
light: lane_l
shot_l_inlane:
switch: lane_a
show_tokens:
light: lane_a
shot_r_inlane:
switch: lane_n
show_tokens:
light: lane_n
shot_r_outlane:
switch: lane_e
show_tokens:
light: lane_e
shot_groups:
outlanes:
shots: shot_l_outlane, shot_l_inlane, shot_r_inlane, shot_r_outlane
rotate_left_events: s_flipper_left_active
rotate_right_events: s_flipper_right_active
reset_events: outlanes_profile_hit_lit_complete
enable_events: ball_started
disable_events: ball_ending
Monitorable Properties
For
dynamic values and
conditional events, the prefix for shot groups is device.shot_groups.(name)
.
common_state
: The name of the common state of all shots in the group. Will be
None
if there is no common state. State names depend on the
profile of your shots (by default lit
and unlit
).
Shot Group Overview:
Shot Group:
We're creating a shot group called "outlanes", which contains 4 shots that we defined in our Shots: section of a mode.
Rotate events:
These will cycle the lights thru your shots, based on which flipper button is pressed in this case.
Reset_Events:
Describes an event that will cause this shot group to reset back to its original state.
Enable/Disable Events:
Describe events that will cause this shot group to be enabled/disabled, in this case we are using Ball_Started and Ball_Ending.
Related Events
Something missing or wrong? You can fix it!
This website is edited by people like you! Is something wrong or missing? Is something out of date, or can you explain it better?
Please help us! You can fix it yourself and be an official "open source" contributor!
It's easy! See our Beginner's guide to editing the docs.
Page navigation via the keyboard: < >
You can navigate this site via the keyboard. There are two modes:
General navigation, when search is not focused:
- F , S , / : open search dialog
- P , , : go to previous page
- N , . : go to next page
While using the search function:
- Down , Up : select next / previous result
- Esc , Tab : close search
- Enter : go to highlighted page in the results