This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Writing to multiple objects
#8
christian.troen@haaland.no

Hi.
 
In the heading you write that you want all object with tag "Modus", to recive the value of "3" if (32/0/3) is True. If this is still what you want, then you can use this as Event-based script.
This sends the value "3" to all "Modus" taged objects, but only when 32/0/3 gets True.
 
Code:
value = event.getvalue()
objs = grp.tag('Modus')
if value == true then objs:write(3)
end

 
BR
Kai-Roger
Reply


Messages In This Thread
RE: Writing to multiple objects - by admin - 11.11.2019, 08:00
RE: Writing to multiple objects - by Daniel - 20.11.2019, 13:27
RE: Writing to multiple objects - by Daniel - 20.11.2019, 13:56
RE: Writing to multiple objects - by admin - 20.11.2019, 14:03
RE: Writing to multiple objects - by Kai-Roger - 20.11.2019, 19:31

Forum Jump: