0
На рассмотрении
Listener for status change?
Hello,
Is there a way in iridium script to add a listener for every time an item changes its status?
I added an script call to a function every time the circular level is moved, but I want to call the function only when the status changes.
Thanks
Сервис поддержки клиентов работает на платформе UserEcho
Hello.
The listener is triggered when the Value is changed.
Thank you,
But I would like to trigger a listener when the status of a multistate lever is changed, not the value.
Hello.
Item does not have this property. Available properties are listed here. Please specify what you mean by status.
sorry, I ment state, not status
Hello.
For EditBox, there is an EVENT_ITEM_CHANGE event that is triggered when you enter text in EditBox. Similar events are not provided for other Item types. You can use SetInterval to do GetState, but this is a suboptimal solution to the problem.