self.machine.trigger_player

class mpf.config_players.trigger_player.TriggerPlayer(machine)

Bases: mpf.config_players.device_config_player.DeviceConfigPlayer

Executes BCP triggers based on config.

Accessing the trigger_player in code

The trigger_player is available via self.machine.trigger_player.

Methods & Attributes

The trigger_player has the following methods & attributes available. Note that methods & attributes inherited from the base class are not included here.

get_express_config(value)

Not supported.

play(settings, context, calling_context, priority=0, **kwargs)

Execute BCP triggers.