How do I Function Repeat ?

Get help using Construct 2

Post » Mon Feb 16, 2015 8:40 am

Hello,

I would like to repeat 10 times a function that is to flash white a character, but impossible to successfully run the loop.

Definitely an error code on my part ....

Any idea ?
You do not have the required permissions to view the files attached to this post.
B
4
S
1
Posts: 7
Reputation: 494

Post » Mon Feb 16, 2015 8:48 am

If your vision so exceeds your ability, then look to something closer.
Moderator
B
147
S
33
G
89
Posts: 5,990
Reputation: 62,795

Post » Mon Feb 16, 2015 8:50 am

system wait will not work
B
269
S
52
G
16
Posts: 2,045
Reputation: 44,128

Post » Mon Feb 16, 2015 9:20 am

Ok but is there a way to repeat a function several times in a row ?
B
4
S
1
Posts: 7
Reputation: 494

Post » Mon Feb 16, 2015 9:39 am

Function is a trigger, so only one time.
B
38
S
13
G
4
Posts: 155
Reputation: 5,158

Post » Mon Feb 16, 2015 9:41 am

Ok so with a function it's impossible to use loop, thanks for help
B
4
S
1
Posts: 7
Reputation: 494

Post » Mon Feb 16, 2015 9:44 am

Call function under "condition: on timer" in timer behavior.
Goodbye
B
115
S
31
G
295
Posts: 4,549
Reputation: 164,633

Post » Mon Feb 16, 2015 9:49 am

You can make a variable "repeat" and set it to 10.

repeat.png


This should work for you ;)
You do not have the required permissions to view the files attached to this post.
Image Image iTunes: Match3 | Google Play: Match3
B
124
S
44
G
32
Posts: 1,208
Reputation: 30,507


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 71 guests