Every X Seconds inside Functions not Working!

Get help using Construct 2

Post » Thu Oct 31, 2013 3:50 am

The subject and the code are self explanatory.

I want to when I call the "a" function, every X seconds do some actions.
But it seems not Working well.

Capx

@kyatric @yann @sqiddster @Whiteclaws
B
13
S
3
G
1
Posts: 60
Reputation: 1,828

Post » Thu Oct 31, 2013 4:43 am

See that little arrow by "on touched"?
See the one by "on function"?
Do you see one by "is touching"?
Image ImageImage
B
169
S
50
G
173
Posts: 8,321
Reputation: 110,286

Post » Thu Oct 31, 2013 5:15 am

functions are triggers....
an "every X seconds" needs to be allowed every tick.
B
43
S
12
G
6
Posts: 446
Reputation: 6,802

Post » Thu Oct 31, 2013 7:06 am

you must do the opposite, call the function inside the every x seconds
B
12
S
5
G
2
Posts: 132
Reputation: 2,627

Post » Thu Oct 31, 2013 8:10 am

[QUOTE=OlivierC] you must do the opposite, call the function inside the every x seconds[/QUOTE]

Was thinking the same thing ^_^
Who dares wins
B
57
S
17
G
21
Posts: 1,878
Reputation: 19,572

Post » Thu Oct 31, 2013 5:18 pm

But I need to Call this function many times at the same time to Work independently. So the Every X Seconds must be inside the Function to work properly.
What should I do?
B
13
S
3
G
1
Posts: 60
Reputation: 1,828


Return to How do I....?

Who is online

Users browsing this forum: beohs, tunepunk and 11 guests