Scripting
Last updated
Last updated
Depence offers an extensive script language to execute several control related commands for selection, creating effects and many more.
Using script commands, you can accomplish some interesting tasks that aren't possible with simple scenes. For this purpose, you use the Depence script language and create script files in the 'Scripts' folder within the repository. These script files can be executed within a sequence in a script track.
The following commands are available:
SELECT FIXTURE 101,102,103
SELECT FIXTURE 101 THRU 120
SELECT FIXTURE 101 THRU 120 odd
SELECT FIXTURE 101,102,110 THRU 120
SELECT FIXTURE 101 THRU 120 STEP 4
SELECT FIXTURE var1 THRU var2
SELECT FIXTURE var1,var2,var3
SELECT Red
SELECT PumpPower
SELECT Pan
SELECT Iris
Set @Full
SET NORMAL DMX VALUE - Special characters are { = at @ to }
SET Value = 255
SET Value = 100%
Set Value = 30 bpm
Set Value = 45°
Set Value = 10 Hz
Set Value = @FeatureName
SET Effect = Sinus
SET Min = 10%
SET Max = 90%
SET Center = 50%
SET Amplitude = 50%
SET Speed = 60 bpm
SET Phase = 360°
SET Offset = 360°
SET Wings = 1
SET Blocks = 1
SET CutLeft = 0%
SET CutRight = 100%
SET Width = 100%
SET Fadetime = 2,5s
Set the fade time of the immediately following command to 2.5 seconds. (Afterwards, the fade time will reset and needs to be set again for the next command)
SET DelayTime = 3,2s
Set the delay time of the immediately following command to 3.2 seconds. (Afterwards, the delay time will reset and needs to be set again for the next command)
SET MASTER VMastername = 100%
SET INDEX = 20
Sets the counter for the next selection index to 20.
Set Panorama = |
Set Panorama = \
Set Panorama = /
Set Panorama = >
Set Panorama = <
Set Panorama = X
Var {name} = {value}
Private variable within a script.
PVar {name} = {value}
Public variable within a project (LogicModule, LivePanel).
Play "ShowName"
Plays a show.
Stop "ShowName"
Stops a specific show.
Stop
Stops all running shows.
Timeplaner start {play,run}
Activates the daily planner (vServer4 only).
Timeplaner stop {end}
Deactivates the daily planner (vServer4 only).
Call "ScriptName"
Calls the script specified in quotation marks. (Note: not recursion-safe).
Clear
SELECT Pan
Set Value = 0°
SELECT Tilt
SET Min = 0°
Set Max = 45°
Set Effect = "Sinus"
Set Speed = 15 bpm
Clear
SELECT Fixture 101 THRU 110 odd
SELECT Pan
Set Value = 0°
SELECT Tilt
SET Min = 0°
Set Max = 45°
Set Effect = "Sinus"
Set Speed = 15 bpm