13.06.2022, 06:26
Is it possible to only rewrite value 3 if the value is 3?
(24.09.2021, 07:07)admin Wrote: I suppose you want to write back the same values to bus for certain tagged objects periodically. If so create a scheduled script and change the tag name as needed:
Code:objects = grp.tag('my_tag_name')
for _, object in ipairs(objects) do
object:write(object.value)
end