17 lines
304 B
Lua
17 lines
304 B
Lua
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
|