23.02.2017, 16:31
Available functions:
Code:
scene.run = function(alias)
run scene, alias can be a name or an id
scene.savelive = function(alias)
save live value for the given scene alias
scene.set = function(alias, active)
enable/disable scene, this will only disable running the scene
by sending a specified value to trigger object. scene can be
still executed via run() no matter if it is enabled or not
scene.enable = function(alias)
shortcut for scene.set(alias, true)
scene.disable = function(alias)
shortcut for scene.set(alias, false)
scene.status = function(alias)
returns true when scene is enabled, false otherwise
scene.tagset = function(tag, active)
enable/disable all scenes having the given tag
scene.tagenable = function(tag)
shortcut for scene.tagset(tag, true)
scene.tagdisable = function(tag)
shortcut for scene.tagset(tag, false)
scene.tagstatus = function(tag)
returns two values: number of enabled and disabled scenes
for the given tag
scene.tagsavelive = function(tag)
save live values for all scenes having the given tag
scene.tagrun = function(tag)
run all scenes having the given tag