This article explains how to configure a Score Panel so that pressing an Event  button automatically increases or decreases a team’s score.


Purpose and scope

The ability to increment the score in the Score Panel is achieved through a programmed interaction linked to an Event button. This feature allows the score increment to apply to either Team A or Team B.

The implementation of the score increment is achieved by adding specific score panel actions to the Pre-Action Trigger Items of a button, ensuring the score updates before the main button action is executed.


Configuring Score Increment via Interaction

To set up the score increment via interaction properties, follow these steps:


Initialize the Score Panel

You must create or edit a Tagging Panel and add the Score Panel tool to the panel.


Configure the Score Panel Properties.

  1. Fill the Category field (under keyword)
  2. Fill the Increment field (under interaction). This value will be used for the default score increase or decrease behaviour.
  3. (Optional) Fill the Alternative Increment field (under interaction). This value will be used for the alternative score increase or decrease behaviour.

Add the Trigger Button and configure Pre-Action Items

Connect the button pressed to the score update mechanism:

  1. Add an Event button to the panel.
  2. Access Pre-Action Trigger Items in the properties of the newly added Event button.
Note: This step is crucial because the items listed here are automatically activated when the button is pressed, before the event is tagged. This ensures the score panel is incremented before the event, preventing score inaccuracy.

 

  1. Add the specific score actions you want the button press to execute.


These actions define the desired behaviour (left/right team, default/alternative increment, score increase or decrease).


CommandDescription
IncLeftIncrement the score of the left team by the Increment value.
DecLeftDecrement the score of the left team by the Increment value.
IncLeftAltIncrement the score of the left team by the Alternative Increment value.
DecLeftAltDecrement the score of the left team by the Alternative Increment value.
IncRightIncrement the score of the right team by the Increment value.
DecRightDecrement the score of the right team by the Increment value.
IncRightAltIncrement the score of the right team by the Alternative Increment value.
DecRightAltDecrement the score of the right team by the Alternative Increment value.