First things first, I'm fairly sure that the answers to my questions can probably be found somewhere in the forums, a tutorial, or the wiki, but my best efforts haven't turned up anything. But I won't be offended if an answer is a link to a resource, hah.
Here's my problem: I have an object with a lot of private variables that I'm tracking. I want to spawn different instances of this object, and I want to control what the values of those PVs are for each individual instance as it spawns.
Example: Let's say I've got a "wave object" with the private variables speed, momentum, and volume. When this wave collides with a rock, I want to spawn a second wave with all of the same properties and whatnot, but with different speed, momentum, and volume values.
My second question is more general: Where can I learn more about how Construct handles referencing instances of the same object? How does it know which instance I'm referring to when I have an event that does something to an instance of an object? Is there a way that I can grab a value from a specific instance without grabbing from the others? Etc. I basically just want to educate myself in this area a bit more, because I'm instancing a lot of objects and I anticipate having more questions.
Thanks in advance!