"Value Changed" Tag Event Script for Array Tag

Hi all,

I have a Float Array tag and I was hoping to configure a Value Changed Tag Event script that triggers any time any of my array elements change value. From testing it a bit, it seems like the Value Changed script works and will trigger every time any of my array elements changes, but there is no way to identify exactly which array element changed - just that something in the array changed value. Is that right? I would really like to be able to identify the index of the element that changed if possible.


You would need to compare it to the previous value (it's made available to you) to figure out what changed.

Keep in mind that one element could have changed, multiple could have changed, or the array length could have changed, so it's trickier than you may think.

1 Like