How do I select sprites with the same variable

Get help using Construct 2

Post » Sat Jan 31, 2015 6:49 pm

I have sprites with the same variable - number.

If I click on one sprite i want the other sprites with the same variable "number" to be selected.
B
20
S
4
Posts: 51
Reputation: 1,104

Post » Sat Jan 31, 2015 6:53 pm

Ther's a "Compare instance variable" picking event for sprites.
B
19
S
6
G
6
Posts: 1,101
Reputation: 5,646

Post » Sun Feb 01, 2015 7:47 am

What instance I should compare with? I dont know the exact value of "number", they differ.
I need something like:
On sprite left click --------------------------------> set sprites value to select 1.
Select all sprites with the same
"number" value as for "clicked"
B
20
S
4
Posts: 51
Reputation: 1,104

Post » Sun Feb 01, 2015 8:18 am

Something like this?
https://copy.com/khmGMFr3tkug2i8o
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 787
Reputation: 3,786


Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 62 guests