Help with these variables

Get help using Construct 2

Post » Thu Sep 10, 2015 11:41 am

I have three variables: Timer + highscore + Score.
Timer + Score = Highscore2
I want always the highest HighScore, that I can do to stay?

I tried Timer > HighScore2 not working. Timer = 300 + Score = 40 = 340 | HighScore2= 330 as single sum the timer and no score, no new highscore.

Image
B
11
S
5
G
1
Posts: 410
Reputation: 2,802

Post » Thu Sep 10, 2015 11:48 am

ehhhm..
Wouldn't this be as simple as:

system compare two values Timer+Score > Highscore
> System set Highscore : Timer+Score
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Sep 10, 2015 2:13 pm

Timer and Score are two different variables, I can not put them together to compare variable. If I do that there would be saved. What a mess :|
B
11
S
5
G
1
Posts: 410
Reputation: 2,802

Post » Thu Sep 10, 2015 2:20 pm

Really?

Image

This should work..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Sep 10, 2015 4:30 pm

I'm an idiot was in comparable variables :lol: :lol: Thank you ;)
B
11
S
5
G
1
Posts: 410
Reputation: 2,802

Post » Thu Sep 10, 2015 4:34 pm

Even with compare variable it should work..

system compare variable Highscore < Timer+Score
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Sep 10, 2015 4:53 pm

It works perfect ;) thanks :D
B
11
S
5
G
1
Posts: 410
Reputation: 2,802


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 46 guests