Warning
This is the dev documentation for an unreleased version of MPF!
This is the documentation for MPF 0.56, which is the “dev” (next) release of MPF that is a work-in-progress. Unless you’re specifically looking for this version, you probably want to use the version of documentation called “latest” which is for the latest released version of MPF. That documentation is at docs.missionpinball.org/en/latest.
(shot)_(profile)¶
MPF player variable
The profile step (starting with 0) this profile is in for this
shot. The actual name of the player variable is the name
(shot)_(profile). For example, if you have a
shot called “right_ramp” and a profile called “flash”, the current
step the profile is at for that shot will be stored in a player
variable called right_ramp_flash
.
Note that you can override this default player variable name with the “player_variable” setting in a shot profile.