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.

Eventscript not trigger a new event
#1
Hi, i have two setpoints that can be changed locally.
When one change, i want to update the other to be the same.

Im trying to do this with just two event scripts updating each other, but ofc it goes into loop.
But im certain ive read about a way to have a script not trigger a new event.
Am i right, or am i misremembering and have to use an intermediary value ?
Reply
#2
This script won't run if it is triggered by another event script.
Code:
if event.sender ~= 'se' then
  value = event.getvalue()
  grp.checkwrite('0/0/2', value)
end
Reply
#3
Perfect, thank you so much
Reply


Forum Jump: