How do I manage objects in pairs

Get help using Construct 2

Post » Thu Feb 04, 2016 11:52 am

I have two objects that I wanna ally in pairs.
I have a Door and a valve.
Both have an ID value, and the valve has an activation rate.
I want the door to open partly using the activation rate.
However, I cannot see how to do this. How to retrieve the correct activation rate value in the door's width expression depending on the IDs.
Because the thing gets glitchy when I have more than one door and one valve.
My addons:
[PLUGIN]Value Monitor
[PLUGIN] Text Alignement
[BEHAVIOR]Timescale Ratio
[BEHAVIOR]Polar Coordinates
[PLUGIN]Action Sequence
[BEHAVIOR]Action Sequence
[BEHAVIOR]Instance Variable Control
B
35
S
6
G
2
Posts: 229
Reputation: 3,390

Post » Thu Feb 04, 2016 12:30 pm

ImageImageImage
B
71
S
22
G
248
Posts: 3,760
Reputation: 138,071

Post » Thu Feb 04, 2016 2:40 pm

Thanks, that might do the trick. I knew how containers worked, however, I never thought of it that way :D.
I'll try and let you know.
My addons:
[PLUGIN]Value Monitor
[PLUGIN] Text Alignement
[BEHAVIOR]Timescale Ratio
[BEHAVIOR]Polar Coordinates
[PLUGIN]Action Sequence
[BEHAVIOR]Action Sequence
[BEHAVIOR]Instance Variable Control
B
35
S
6
G
2
Posts: 229
Reputation: 3,390


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 27 guests