That's just about the exact of what I need, but I guess there's no way to accomplish it in a simple manner if I don't use Families, right? I was trying to avoid them because I teach Construct at a local University, and not all my students have access to Construct 2 Full.
Is there a way to reference "any Sprite"?
That way, I could create a local variable for the objects I want to be double-sized when clicked, say a variable called canDoubleSize. And I could check for that variable on my mouse-click then call the double-size function.
on mouse clicked on "any sprite whatsoever"
\--> AnySprite.canDoubleSize = 1
then do what your example does, but sending the UID to a global variable. Then the function searches for "any Sprite" with that UID and runs on it.
I hope I explained it clearly..
Check the example I posted earlier
, you could have all your sprites 'inside' same object to simulate families.
To me it seems you don't really need UID's, functions or anything like that. It could be as simple as having that canDoubleSize variable, then on certain conditions you execute something like this:
For each sprite
sprite.canDoubleSize = 1
Do the doublesize
This is shown in the demo I posted as well.vee412013-01-28 14:15:37