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 created a slide that shows some info for a short time as overlay over the "normal" slide. With the help of tokens I parametrised it to show different texts:
slide_player:
# A temporary fullscreen slide on top of the base slide
s_left_flipper_active: # just for testing :)
popping_overlay_slide:
tokens:
text_content: SKILLSHOT!
This works well. Interestingly, I cannot find any documentation for tokens in slide_player. Just a sample config. Maybe its a left over from older versions or it's implementation is not finished?
Problem arises if I want to parametrise the image as well. With image: (image_name) and the corresponding token
I get an error message: Cannot add Image widget. Image '(image_name)' is not a valid image name.
I tried to debug it with python, but I couldn't find a place in mpf where the problem arises. And I don't know how to start mpf mc in debugging mode (See #58 ).
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
-
Hi there
I created a slide that shows some info for a short time as overlay over the "normal" slide. With the help of tokens I parametrised it to show different texts:
This works well. Interestingly, I cannot find any documentation for tokens in slide_player. Just a sample config. Maybe its a left over from older versions or it's implementation is not finished?
Problem arises if I want to parametrise the image as well. With
image: (image_name)
and the corresponding tokenI get an error message: Cannot add Image widget. Image '(image_name)' is not a valid image name.
I tried to debug it with python, but I couldn't find a place in mpf where the problem arises. And I don't know how to start mpf mc in debugging mode (See #58 ).
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions