variable_player in machine file #118
Replies: 2 comments
-
Interesting. It seems your understanding is correct, based on that error. I use the Of course it's with |
Beta Was this translation helpful? Give feedback.
-
That was the right hint! This doesn't work
This works
For me, I have clearly defined a machine(!!) variable, so I thought the non-working example should know that I want to add to a machine variable. I will create a pull request for the docs in the next days to make that clearer. Would be nice if you can accept that pull request then. I hope it makes things for other people easier, I spent quite some time on this. I saw the set_machine option, not sure if I was just too stupid to draw the right conclusion, maybe I was too focused that mpf should know that I have machine var. Anyways, thanks! |
Beta Was this translation helpful? Give feedback.
-
Hello,
here https://missionpinball.org/config/variable_player/ it says that variable_player is valid in machine config. Machine config is for me the mail config.yaml file. If I have a variable_player in there I get
mpf.exceptions.config_file_error.ConfigFileError: Config File Error in variable_player: Section not valid outside of game modes.
Am I having a misunderstanding what is meant here, or is either the documentation or the code buggy?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions