How do have three sliders influence each other?

Get help using Construct 2

Post » Thu Dec 12, 2013 8:48 am

File
Okay, I've created three identical sliders.
How do I have them influence each other? For example, increasing one slider by .1 will randomly reduce the value in another slider by .1

Step 2: How do I take the variables of each slider and use them in an expression?
B
9
S
3
G
1
Posts: 191
Reputation: 1,725

Post » Sat Dec 14, 2013 11:21 am

Ba-bump.
B
9
S
3
G
1
Posts: 191
Reputation: 1,725

Post » Sat Dec 14, 2013 12:37 pm

Maybe you might want to include your capx so the members can take a look
B
36
S
10
G
4
Posts: 250
Reputation: 7,963

Post » Tue Dec 17, 2013 7:12 pm

I did?
https://www.dropbox.com/s/e53sevhzl0w3n8v/nationsim-8fb2dfraiofu.capxryackov2013-12-17 19:14:19
B
9
S
3
G
1
Posts: 191
Reputation: 1,725

Post » Mon Dec 23, 2013 3:53 am

Halp.
B
9
S
3
G
1
Posts: 191
Reputation: 1,725

Post » Mon Dec 23, 2013 7:06 am

Your slider setup had to be tweaked to make it possible.
https://dl.dropboxusercontent.com/u/5426011/examples21/3slider.capx
The "balance" function is what adjusts the non-picked sliders.R0J0hound2013-12-23 07:06:58
B
94
S
33
G
117
Posts: 5,389
Reputation: 75,339

Post » Mon Dec 23, 2013 7:47 am

thank you, I never knew how to even begin to adjust non-picked sliders.
B
9
S
3
G
1
Posts: 191
Reputation: 1,725

Post » Sat Jan 11, 2014 12:31 pm

Followup question, how do I take the value from each slider?
B
9
S
3
G
1
Posts: 191
Reputation: 1,725

Post » Sat Jan 11, 2014 4:24 pm

Just pick the slid_line you want and use it's slid_line.value variable.
B
94
S
33
G
117
Posts: 5,389
Reputation: 75,339

Post » Sat Jan 11, 2014 9:13 pm

how do I do that? You don't have to make a capx, in this case I'd like step by step instructions since it seems to be so simple I must be missing something.
Edit: something involving unique IDs?

Edit: nevermind... instance variablesryackov2014-01-11 21:41:47
B
9
S
3
G
1
Posts: 191
Reputation: 1,725

Next

Return to How do I....?

Who is online

Users browsing this forum: draiza and 8 guests