Author Topic: Capture number of button presses  (Read 333 times)

Offline col8eral

  • Sr. Member
  • ****
  • Posts: 354
  • Karma: +3/-2
Capture number of button presses
« on: November 19, 2017, 12:16:40 pm »
Could someone advise what LUA code I needed to capture the number of button presses sed to activate a scene.

Thank you kindly

Offline RichardTSchaefer

  • Master Member
  • *******
  • Posts: 10091
  • Karma: +764/-142
Re: Capture number of button presses
« Reply #1 on: November 20, 2017, 07:22:36 am »
There may not be a single answer to this ... or any answer at all.
You will have to investigate the variables (Advanced Tab of Scene Controller) on the scene controller and see what changes.
NOTE: you will need to refresh the browser after each change, because the Advanced tab does not dynamically update its state.
Once you understand how your scene controller works ... you can access the variables in LUA or PLEG.

Offline col8eral

  • Sr. Member
  • ****
  • Posts: 354
  • Karma: +3/-2
Re: Capture number of button presses
« Reply #2 on: November 20, 2017, 07:36:26 am »
Thank you kindly Richard