How do I Make an object not pass clicking and array?

Get help using Construct 2

Post » Sat Dec 06, 2014 12:16 am

I have an event that brings up a popup window to allow the user to click yes or no. Unfortunately for me this window pops up over other objects that have events on them. So when I click no, the conditions for the object under go off. Is there a way to make the popup window stop clicks going to the bottom object? they are on different layers.

The problem I am getting is the bottom layer fills an array value so when the user clicks no or yes; it is adding another value to the array. I have tried to use different things with arrays to delete the index thats added but I have had no luck. Maybe its because i cant delete the only entry? I have tried destroying the array and recreating it but it is still populated.
B
5
Posts: 18
Reputation: 261

Post » Sat Dec 06, 2014 5:49 am

Typically you use Groups to manage your inputs. Place the relevant input events in a group and toggle it off when your "window" pops up and turn it back on again when done.
ImageImageImage
B
71
S
22
G
258
Posts: 3,791
Reputation: 143,198


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests