TIMESTAMPS: 00:05 → Intro 00:52 → On/ Off 04:12 → Number 07:14 → Option 09:11 → Text

TIMESTAMPS: 00:05 → Intro 00:52 → On/ Off 04:12 → Number 07:14 → Option 09:11 → Text

A Variable is a value or state that can both be referred to and changed by behaviours. They are used for keeping track of a state throughout the life of the show or scene. They can allow you to perform functions such as creating sequences, counting up the amount of times something has happened, or used to adjust parameters of the show, such as audience size and difficulty rating.

Text Variable

e.g. I have created a Text Variable with the default value of 'mango' in a scene. I want to refer to the default state of this variable in a behaviour so when adding a WHEN condition which refers to this text variable, I would type 'mango' into the field.

I also want a different behaviour to change this variable to 'banana', so I would add a DO: Update Values action to that behaviour and type 'banana' in the text field. Another behaviour could refer to this 'banana' state, or change it to 'apple' and so on.

Number Variable

e.g. I want a button to be pushed 5 times to complete a scene. I make a behaviour that means every time that button is pushed, an action updates the value of my number variable by 1. I set a default of 0, a minimum of 0 and maximum to 5.

I have another behaviour which looks for when the variable reaches 5 and completes the scene. If I want the button to be pushed in a certain time frame, I would have other behaviours which would start a delay then refer to the Number Variable. If it is not at 5, a behaviour can update the Number variable to 0.

On/Off Variable

e.g. I want to create a game where a button must be pushed at the same time a light is on to complete a scene. Using behaviours, I can update the state of the variable to ON when the light is on and OFF when the light is off.

When the button is pushed a behaviours checks what state the variable is in and only if it is ON will the scene complete.

Option Variable

e.g. I want to change the nature of my show depending on difficulty rating, and I want the operator to set the level before the beginning of each show. I create a Show Variable in my Show Scene which has the options of Easy, Medium and Hard. I create a Dashboard widget in **Show Setup** which uses this variable.

Throughout the shows scenes I have created different behaviours which refer to to the state of this Show Variable. If the operator selects Easy, only the behaviours that refer to the state as being 'Easy' will follow through. If they select Medium or Hard, only those behaviours that refer to them will follow through.