Clicking on 1 obj destroys all other instances of that obj

Get help using Construct 2

Post » Fri Apr 29, 2016 9:12 pm

http://prnt.sc/aygw6i
I made this little system for cutting tree´s (didnt make the animations yet so it just destroys the tree).. Nevertheless, it should destroy only 1 tree trunk at a time, but it destroys all of them in the entire level. im rly tired and cant find a solution
Burry me with my empty hands sticking out the ground, so that all can see, that the one who had the world on his hands, died with them empty.
B
19
S
4
G
4
Posts: 133
Reputation: 3,070

Post » Fri Apr 29, 2016 10:52 pm

Since you want each trunk to have an personal JapTreeTrunk count, you need to use instance variables.

https://www.scirra.com/manual/73/instance-variables

Now you can pick the right tree based on the trees's personal count.

https://www.scirra.com/manual/124/system-conditions
(search "pick")
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 30 guests