You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a multiball lock that when a ball is captured it automatically plunges the ball from the trough -> plunger -> playfield - this plunger has been configured as follows:
Is there a way to prevent the automatic plunging of the ball to the playfield and let the player control this using the mechanical action instead?
The area of code I have traced down the function is here - last line does not provide additional parameters to the add_ball function - basically I would like the player_controlled to be set to true:
multiball_lock.py
def _request_new_balls(self, balls):
"""Request new ball to playfield."""
balls_added = 0
for device in self._source_devices:
balls_to_add = max(min(device.available_balls, balls - balls_added), 0)
device.eject(balls=balls_to_add, target=self.source_playfield)
balls_added += balls_to_add
self.source_playfield.add_ball(balls=max(balls - balls_added, 0))
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a multiball lock that when a ball is captured it automatically plunges the ball from the trough -> plunger -> playfield - this plunger has been configured as follows:
Is there a way to prevent the automatic plunging of the ball to the playfield and let the player control this using the mechanical action instead?
The area of code I have traced down the function is here - last line does not provide additional parameters to the add_ball function - basically I would like the player_controlled to be set to true:
multiball_lock.py
ball_device.py
Context: MPF 0.8 (latest from Github)
Beta Was this translation helpful? Give feedback.
All reactions