30.08.2021, 11:04
Hi,
Is there a way in an event script to retrieve the previous value of the event?
I have an on/off object and want to know, for example if I receive an 'off' and read it with event.getvalue(), to see whether previously it was 'on' or 'off' before deciding on the subsequent logic.
Is there a way in an event script to retrieve the previous value of the event?
I have an on/off object and want to know, for example if I receive an 'off' and read it with event.getvalue(), to see whether previously it was 'on' or 'off' before deciding on the subsequent logic.
Thank you!
Morkov
Morkov