[Solved] Select a specific instance of same sprites?

Get help using Construct 2

Post » Mon Dec 29, 2014 5:37 pm

Say for example, I catch the "0" key being pressed. I then want to perform an action only on Sprite[0]. How can I accomplish this?
Last edited by locohost on Mon Dec 29, 2014 10:33 pm, edited 2 times in total.
B
13
S
4
Posts: 280
Reputation: 1,578

Post » Mon Dec 29, 2014 5:58 pm

Ok this method works...

Construct 2 Select Specific Sprite for Action.PNG

Is this the right way? Is there an easier way?
You do not have the required permissions to view the files attached to this post.
B
13
S
4
Posts: 280
Reputation: 1,578

Post » Mon Dec 29, 2014 7:16 pm

Pick by comparison: Person.IID = Person_Selected

You don't need a For each.
ImageImageImage
B
71
S
21
G
231
Posts: 3,688
Reputation: 129,352

Post » Mon Dec 29, 2014 7:40 pm

blackhornet wrote:Pick by comparison: Person.IID = Person_Selected

You don't need a For each.


I don't see where/how I can "pick by comparison" outside of the the for-loop :?
B
13
S
4
Posts: 280
Reputation: 1,578

Post » Mon Dec 29, 2014 7:45 pm

locohost wrote:
blackhornet wrote:Pick by comparison: Person.IID = Person_Selected

You don't need a For each.


I don't see where/how I can "pick by comparison" outside of the the for-loop :?


Nevermind, I got it.

Thanks! :)
B
13
S
4
Posts: 280
Reputation: 1,578


Return to How do I....?

Who is online

Users browsing this forum: dop2000, namaewayukidesu, Yahoo [Bot] and 5 guests