How do I disable a behavior clones of the same object

Get help using Construct 2

Post » Thu Apr 28, 2016 8:36 pm

Been trying many things, but every time I use set enabled, even if the events conditions specify that only once of these clones should have its behavior enabled, the action enables all of them. The behavior specifically being used is drag and drop.

Further explanation:
If a checkers piece jumps another, its # of jumps goes up by 1. The condition is only pieces that have this variable <0 will there drag drop behavior enabled. However, when the action is used, all of the pieces get enabled. (the objects are clones)
B
4
Posts: 11
Reputation: 220

Post » Thu Apr 28, 2016 8:57 pm

Easy Way:

https://
drive.google.com/open?id=0B1SSuCVV8v74cThiVTROSGxKdDQ

I wonder how you picked the instance though.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Thu Apr 28, 2016 9:01 pm

Amazing, thank you! :D
Might be making a checkers game for fun. :P
B
4
Posts: 11
Reputation: 220

Post » Thu Apr 28, 2016 9:29 pm

Now, but, how did you pick the instances ?
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950


Return to How do I....?

Who is online

Users browsing this forum: ChoosyZerk, lordsas and 81 guests