This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Polling status
#11
(30.08.2023, 09:22)admin Wrote: Create a scene named Test scene and add objects that you want to control with it.
Then create a 1-bit object an map event script to it. When writing ON (true) it will save current object values that are assigned to this scene. When writing OFF (false) it will run the scene.

Code:
value = event.getvalue()
name = 'Test scene'

if value then
  scene.savelive(name)
else
  scene.run(name)
end

Yes, I will try following your instructions!

Thank!
Reply


Messages In This Thread
Polling status - by FatMax - 02.12.2015, 22:45
RE: Polling status - by gjniewenhuijse - 03.12.2015, 09:03
RE: Polling status - by FatMax - 04.12.2015, 05:55
RE: Polling status - by gjniewenhuijse - 04.12.2015, 06:51
RE: Polling status - by admin - 04.12.2015, 07:26
RE: Polling status - by TranVanHieu - 30.08.2023, 07:51
RE: Polling status - by FatMax - 04.12.2015, 23:16
RE: Polling status - by admin - 30.08.2023, 07:58
RE: Polling status - by TranVanHieu - 30.08.2023, 09:14
RE: Polling status - by admin - 30.08.2023, 09:22
RE: Polling status - by TranVanHieu - 30.08.2023, 09:35

Forum Jump: