Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.02 KB

index.rst

File metadata and controls

37 lines (27 loc) · 1.02 KB

Player Variables Reference

Here's a list of all the different "built in" player variables </game_logic/players/index> that MPF uses.

You can use these in your config files to trigger game logic or to display as text on your display.

Note that you can also create your own player variables in your configs, and most likely your machine will have several orders of magnitude more player variables than this list here.

Video about player and machine variables:

PUxEsNUGXPY

That said, here's a list of the "built in" player variables and how they work:

index <_index> ball <ball> extra_ball(name)_awarded <extra_ball_name_awarded> (logic_block)_state <logic_block_state> (mode)_(timer)_tick <mode_timer_tick> number <number> random(x).(y) <random_x.y> restart_modes_on_next_ball <restart_modes_on_next_ball> score <score> (shot)_(profile) <shot_profile>