rs485-lpc/lpc_serial_fx.lua

17 lines
304 B
Lua
Raw Normal View History

local tv = get_trigger_variable(1)
if tv == nil then return end
local n = tv.integer
local ok, ov = pcall(get_group_override, 0)
if ok and ov ~= nil then
ov:clear(1.0)
end
if n >= 1 and n <= 4 then
local tl = get_timeline(n)
if tl ~= nil then
tl:start_release_others()
end
end