How to compress the event with constant? [FIXED]

Get help using Construct 2

Post » Mon Jan 28, 2013 7:39 am

Hi guys,

I'm looking a solution how to keep event from variable 1 to 999 or infinite.

I wouldn't repeat the events to make it happen.

Take look at this pic



It should trigger each action when new number if is added by 1 for time.

Thanks!Joannesalfa2013-01-31 03:00:32
B
95
S
25
G
20
Posts: 3,052
Reputation: 22,613

Post » Mon Jan 28, 2013 8:32 am

Add var_Time_old variable.

Add event:

var_Time_old doesn't equal var_Time
add 30 to var_distancer
var_Time_Old = var_Time
B
24
S
8
G
7
Posts: 756
Reputation: 7,192

Post » Wed Jan 30, 2013 4:13 am

[QUOTE=vee41] Add var_Time_old variable.

Add event:

var_Time_old doesn't equal var_Time
add 30 to var_distancer
var_Time_Old = var_Time[/QUOTE]

@vee41

It didn't work, why would 2 conditions like doesn't equal and does equal?
B
95
S
25
G
20
Posts: 3,052
Reputation: 22,613

Post » Wed Jan 30, 2013 4:21 am

Only 1st is meant as condition, two others would be actions. Forum loses the blanks infront so it appears bit messy, sorry :)
B
24
S
8
G
7
Posts: 756
Reputation: 7,192

Post » Thu Jan 31, 2013 2:30 am

@vee41 what happens if the variable is equal to 100 each action?

I was looking another solution

Score: 100, add $ 5
Score: 200, add another $ 5

It goes infinite...

Do you have better ideas?
B
95
S
25
G
20
Posts: 3,052
Reputation: 22,613

Post » Thu Jan 31, 2013 2:49 am

Self-resolved

B
95
S
25
G
20
Posts: 3,052
Reputation: 22,613


Return to How do I....?

Who is online

Users browsing this forum: badmoodtaylor and 11 guests