Working with device time for a timer?
zarzir
Member, PRO Posts: 128
Hi @adent42 as you suggested I opened a new discussion on this manner.
So basically I want to use device time for a timer that count seconds, what I did is this:
rule when: "device.time.seconds" = "mycontrol"
change attribute: "mycontrol" to ("mycontrol"+1)%2
change attribute: "mytimer" to "mytimer"+1
There are a few problem which I can work around them, but one problem is that the actor that contain the rule is blinking every time the rule is fire, I'm wondering if this affect performance and should I use it with that actor as invisible just controlling another actor?
As I said this is for a timer so every second the rule will fire.
Thanks