24.04.2017, 21:46
(This post was last modified: 24.04.2017, 21:51 by Erwin van der Zwart.)
Hi,
Add tags to the objects you want to monitor, and create a event based script that is linked to that tag and insert this to the event script:
Where the log is now you can put your command to alert, mail, push or sms your string with the object name that triggers the event.
BR,
Erwin
Add tags to the objects you want to monitor, and create a event based script that is linked to that tag and insert this to the event script:
Code:
if event.getvalue() == true then
-- Perform action with dynamic name
log('value of ' .. grp.find(event.dst).name .. ' is true')
end
Where the log is now you can put your command to alert, mail, push or sms your string with the object name that triggers the event.
BR,
Erwin