@valgo @CreationsOfaNoob @t1_hopscotch @Rawrbear
Does anyone know of a way for multiple objects to "advertise" or "reply with" one of their self properties in response to an event, such that a secondary event could be triggered, conditionally, based on the replies without sequentially indexing each object?
I know the question is likely confusing, perhaps I should ask it this way:
Does anyone know of a way for multiple objects to all "see" the values of a given self property of the other objects, such that the value of any object could trigger a conditional event in any of the other objects without sequentially indexing each object?
Perhaps a simple example would help.
Let's say you have a "clicker" type project with numerous text objects that all track the number of times they've been tapped with a (self) property. Without having to loop through each object sequentially using an index property is there a way to code a behavior where after any object is tapped, any object that has a number of clicks equal to any other object sets itself to a new, random color. I'm not trying to make a clicker project, but that's the simplest example I could quickly come up with.
I can accomplish the concept by sequentially (using an index property) having each object set a global (iPad) variable to it's self property of interest, while all objects have a conditional event based on the iPad property. But this creates significant lag for a large number of objects. So I'm trying to see if there's a way to do this without having to sequentially loop through each object (and I should say, without having to hard-code references to the specific objects)
Does this make any sense?