(Solved) The best way to change mode #69
-
Hello everyone ! I used the "counter:" script, and it's almost working.
What's the easiest way to change mode after hitting a switch multiple time, and is it possible to keep the mode active on the current player ? Thank's for your help ! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
One possibility is to track the state for the second mode for yourself with a player variable. Then, when a ball is starting you could decide if your second mode should start or not. Here is an example, I made it out of my head and did some copy'n paste. I did not tested it. base mode
second mode:
PS: Maybe there is another way to track the state. But I don't know. |
Beta Was this translation helpful? Give feedback.
-
https://docs.missionpinball.org/en/stable/config/mode.html?highlight=Mode#restart-on-next-ball Set restart_on_next_ball: true If this mode is running when ball ends, it will automatically restart. If it's not running, it won't. |
Beta Was this translation helpful? Give feedback.
https://docs.missionpinball.org/en/stable/config/mode.html?highlight=Mode#restart-on-next-ball
Set restart_on_next_ball: true
If this mode is running when ball ends, it will automatically restart. If it's not running, it won't.