beautypg.com

Injecting a trigger, Timeline control, Timecode control (local to this controller) – ETC Unison Mosaic Designer v1.11.0 User Manual

Page 210: Fixture control (local to this controller)

background image

Unison Mosaic Designer User Manual

Injecting a trigger

Equivalent to clicking a trigger in the web control screen.

inject_trigger(num)

Fires the trigger with the specified number. Additional arguments are
passed as variables.

Timeline control

Note that unlike a normal trigger action these will only affect the local Controller. This can be a powerful additional
feature in certain situations. If you want to fire a timeline system-wide then inject an appropriate trigger.

start_timeline(num)

Start timeline with the specified user number

stop_timeline(num, time)

Stop timeline with the specified user number with optional fade time (in
seconds)

halt_timeline(num)

Halt timeline with the specified user number

resume_timeline(num)

Resume timeline with the specified user number

stop_all()

Stop all timelines

Timecode control (local to this Controller)

set_timecode_source_enabled(source, [enabled])

Enable or disable a timecode source (source is one of
TCODE_1

, TCODE_2, TCODE_3, TCODE_4, TCODE_5,

TCODE_6

, AUDIO_1, AUDIO_2, AUDIO_3, AUDIO_4;

enabled assumed true if not specified)

set_timecode_source(timeline_num, source, [off-
set])

Set the current timecode source for a timeline (source is one
of DEFAULT, TCODE_1, TCODE_2, TCODE_3, TCODE_4,
TCODE_5

, TCODE_6;offset in msecs, assumed 0 if not spe-

cified)

set_timecode_source(timeline_num, source,
band, channel, [peak])

Set the current audio source for a timeline (source is one of
AUDIO_1

, AUDIO_2, AUDIO_3, AUDIO_4; band can be any

number or VOLUME; channel is one of LEFT, RIGHT,
COMBINED

; peak is optional, assumed false if not specified)

Fixture control (local to this Controller)

A script can directly control fixtures as if it was a high priority timeline. It can only control fixtures local to the Con-
troller on which the script is running. It can also only control whole fixtures – there is no access to individual ele-
ments of compound fixtures.

set_intensity(fixture, value, time)

Set intensity on fixture to value (as DMX). Optionally give a time (in
seconds) to fade.

set_red(fixture, value, time)

Set red on fixture to value (as DMX). Optionally give a time (in seconds)
to fade.

set_green(fixture, value, time)

Set green on fixture to value (as DMX). Optionally give a time (in
seconds) to fade.

set_blue(fixture, value, time)

Set blue on fixture to value (as DMX). Optionally give a time (in seconds)

- 210 -