Help comparing family objects

Get help using Construct 2

Post » Wed Nov 28, 2012 5:34 pm

Hi all,

I have a family of sprites, and an event to spawn 2 random members on the screen. As the family spawn object is a random selection, I sometimes get 2 of the same sprite. Is there a way I can check / compare both sprites, and if they are the same do one thing and if not do another.

Ive tried creating a family variable, and making this different for each sprite. I then compared these variables to see if they match. But this doesn't seem to be working (although I may not have written it correctly!)

Any help would be much appreciated. And thanks for taking time to read this.
Posts: 77
Reputation: 1,588

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 19 guests