[Feature Request] 'Collection Changed' node

 

Hi there.

Similar to the 'Text Changed' and 'Vector Changed' nodes it would be extremely helpful if there was a 'Collection Changed' node as well, which triggers when any value inside a collection is changed.

Cheers & all the best.

Eric.



   EricWest

 
Profile Image
Eifert@Aximmetry
  -  

Hi Eric,

You are right, there is no good way to do this. We added it to our request list and we will consider adding it in future releases.

In the case of Vector, it is actually the Delta module that can detect change.

Warmest regards,

 
Profile Image
EricWest
  -  

Hi Eifert.

Thanks!
Maybe my current workaround could give you an idea how to implement this feature.
I'm running a Lua Script which collects all sorts of data in a Table.
Using dkjson.lua this table is then converted to a Json String.
And... voila! ... using a TextChanged Node I can then determine if the Json String (and hence the entire 'collection') has been changed :-)

Cheers & all the best.

Eric.


 
Profile Image
Eifert@Aximmetry
  -  

Hi Eric,

Thank you for sharing the workaround.

And yes, the easiest solution would be to this, is to actually implement a module that converts the collection to text.


For anyone wondering how to add dkjson.lua to Aximmetry, Eric explains it here: https://my.aximmetry.com/post/2815-feature-request-collection-pin-on-script

Warmest regards,

 
Profile Image
EricWest
  -  

Hi Eifert.

In fact a 'Collection to Json String' would be awesome.
(And it's already almost there! In the Json Exporter :-))