Skip to content

Passing a String to image widget as filename #65

Answered by atummons
Ultimariolator asked this question in Q&A
Discussion options

You must be logged in to vote

https://docs.missionpinball.org/en/stable/displays/widgets/reusable_widgets.html#dynamically-choosing-a-widget-based-on-variables

Look at this section. You are missing the syntax (current_player.name).

You have to tell it what name is, as that could exist multiple places. This tells it to look at the player variables for the current player to return name. Then it can pass through.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@atummons
Comment options

@Ultimariolator
Comment options

@Stefku
Comment options

@Ultimariolator
Comment options

@atummons
Comment options

Answer selected by Ultimariolator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants