Allow to pause the sequencer with a TechAge command
Has the same effect as turning the sequencer off by hand. Use case: You use a sequencer in combination with a TA Signal Lamp to build a flashing warning light. You then want to turn this warning light on and off with a TechAge command. Using the "off" command would result in unsetting the "Run endless" checkbox.
This commit is contained in:
parent
428a3d552f
commit
4cf3f6434d
@ -268,6 +268,8 @@ techage.register_node({"techage:ta3_sequencer"}, {
|
|||||||
else
|
else
|
||||||
nvm.endless = false
|
nvm.endless = false
|
||||||
end
|
end
|
||||||
|
elseif topic == "pause" then
|
||||||
|
stop_the_sequencer(pos)
|
||||||
else
|
else
|
||||||
return "unsupported"
|
return "unsupported"
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user