(SOLVED) How do I Make 1 var with multiple inputs

Get help using Construct 2

Post » Sat Jun 07, 2014 3:33 am

Ok I know this is a looooooong shot but you guys are the best so here goes.

Is it possible to set a variable to more then just 1 number? The problem I'm having now is with the score matches the var (Let's say 3) it does an action and adds 3 to that var keeping it ahead of the score. That's working great going by 1 point at a time, but then I got fancy and added another reward that gives you more points at once which now pushes the score higher then the var and now I'm losing the extra bonus reward because the var and the score never match now.

How can I always tell the var no matter what the score becomes to stay ahead of the score after each time they match?


Yeah I know I bring the tough ones sorry...

Thank you in advance.
Last edited by ALLMarkMade on Thu Jun 12, 2014 8:54 pm, edited 1 time in total.
Check out my latest game RAPID-TAPIT. Get your Fingercise on with this one. A steady Tap is all you need to score points. Lift a finger and see what you can do...

Image

ALLMarkMade Designs
B
32
S
15
G
3
Posts: 356
Reputation: 5,269

Post » Sat Jun 07, 2014 4:02 am

What about if you have an event to check of if Score Greater than or Equal to Var = Set Var to Score+3. Haven't tested it, but the ss below of just adding it quick to what I'm working on is what it'd look like.
You do not have the required permissions to view the files attached to this post.
B
10
S
2
G
1
Posts: 44
Reputation: 817

Post » Sat Jun 07, 2014 4:08 am

Yes! That may work... thank you I will give it a try. :)
Check out my latest game RAPID-TAPIT. Get your Fingercise on with this one. A steady Tap is all you need to score points. Lift a finger and see what you can do...

Image

ALLMarkMade Designs
B
32
S
15
G
3
Posts: 356
Reputation: 5,269

Post » Sat Jun 07, 2014 4:33 am

You're welcome. I just made a new event sheet and tested it where if I did a mouse click and gained 10 score to see if n would change to new score+3. Worked out for me, hopefully worked out for you too.
B
10
S
2
G
1
Posts: 44
Reputation: 817

Post » Sat Jun 07, 2014 3:32 pm

@daehawk

PERFECT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Thank you, you saved me...
Check out my latest game RAPID-TAPIT. Get your Fingercise on with this one. A steady Tap is all you need to score points. Lift a finger and see what you can do...

Image

ALLMarkMade Designs
B
32
S
15
G
3
Posts: 356
Reputation: 5,269

Post » Sat Jun 07, 2014 5:13 pm

You're welcome. Glad it worked for ya ^_^
B
10
S
2
G
1
Posts: 44
Reputation: 817


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 15 guests