- 29 May 2024
- 3 Minutes to read
- Print
- PDF
Scenarios advanced setup
- Updated on 29 May 2024
- 3 Minutes to read
- Print
- PDF
The Scenarios tab also allows system administrators to define variables or placeholders for them, such as flight code, airline, locations, etc. These variables can then be used in templates for displays and in text-to-speech announcements.
Since the following guide is intended for advanced customization, we'll skip the detailed descriptions in some places, such as how to create and design a template or a text-to-speech announcement, assuming you already know how to do that. In the steps on setting up a template, we'll show you an example of using scenario variables as part of a dynamic text and as part of an advanced script, but there are other ways to use them in the template designer. For example, you can use a scenario variable in dynamic media to select a specific row or column with a name that matches the value of that variable, or in state scripts to change the states of the template. Additionally, instead of dynamic text you can also create a visual paging element in template designer that would scroll the announcement content you have defined for a scenario.
- Scenarios tab,
- Scenario activation tab,
- Announcement library tab,
- Templates tab
TUTORIAL STEPS:
A) Create a new scenario on the Scenarios tab. Define its name, type and threat level. See tutorial Scenarios basic setup | |
B) Adding data action
Note: unlike the other actions, you can only add data action once per scenario, and its order among the other actions cannot be changed, it will always remain first. | |
C) Input data configuration
| |
D) Open the TTS library tab and create a new announcement. See tutorial Modify TTS announcement from library | |
E) Adding scenario data
| |
F) Select the scenario input data you need in a new sub-window. | |
G) Confirm your selection by clicking the "check" button. The selected scenario input data will be added to the announcement content where you left the cursor in the editor. | |
H)
| |
I) Open the Template tab. Create and design a new template. See tutorial Create basic STATIC content | |
J) Click the Canvas icon and select the Scenarios data source. | |
K) Adding dynamic text
| |
L) Dynamic text editor window
| |
M) Editing element script (optional)
| |
N) Edit script (optional)
| Script example (the text highlighted in blue is the data source hint element that is dragged and dropped to the editor): if (get("scenario.context.cancelled_or_delayed"/*cancelled or delayed*/) == "delayed") setTextColor("#f2e760"); if (get("scenario.context.cancelled_or_delayed"/*cancelled or delayed*/) == "cancelled") setTextColor("#fb9c55"); |
O) Save & publish the template. | |
P) Return to your scenario on the Scenarios tab. | |
Q) Completing the scenario
| |
R) Open the Scenario activation tab and click on your scenario. | |
S) Defining the input data Scenarios cannot be activated if the data variables expected in the announcement messages are not defined. These data variables will be highlighted in red, notifying users of missing data variables. In our example we have two placeholders for data variables that need to be filled in.
| |
T) Activate the scenario. | |
U) Example of the activated scenario on a display |