Updated Variables (markdown)

WarmUpTill 2023-03-25 11:44:41 +01:00
parent 795e4fdc4c
commit 08ef25b008

@ -44,7 +44,7 @@ It supports checking if the variable ...
* equals a given number.
* is less / greater than a given number.
* has changed.
* ...
* and more ...
## Variable action
@ -56,7 +56,7 @@ It supports ...
* appending to the value of a variable.
* appending the value of another variable.
* in-/ decrement the value of a given variable. (Assuming it is a valid number)
* ...
* and more ...
## Using variables
@ -70,6 +70,14 @@ It supports ...
The syntax to use variable in those text fields is `${variable name here}`.
* Variables can be used in most number based selections, e.g. duration or area selections.
![DurationVariable](https://user-images.githubusercontent.com/19472752/227712395-f8c5530a-8d3a-417b-9043-a8eea9a5f251.PNG)
The default value will be 0.0 if a given variable is not a valid number.
## Example "Podcast"
The following example is intended to showcase how to set up [macros](Macros#what-are-macros) to automatically switch scenes in a podcast setting, with scenes focusing on a single person in case only single person is speaking and a scene in case multiple people are speaking at the same time.