Recursive Call not passing Parameters

Get help using Construct 2

Post » Thu Oct 31, 2013 5:17 am

I want to when I click on the Screen, respawn 1 Mob every 1 second for only 3 seconds. But it seems not working the recursivity call knowing that all this variables are Function Parameters.

How to get this working?

I've tried many things, but seems when working with timers and waits it always seems buggy.

And more:
Why the parameters are reseting?
Is the the Wait action the bad guy of the code?

Moving Mobs Recursive Call.capx
B
13
S
3
G
1
Posts: 60
Reputation: 1,828

Post » Thu Oct 31, 2013 12:57 pm

Cause of the Wait you loose the reference of local variables.

Just make an loop into your function or an every x seconds with a conditon.
B
15
S
6
G
6
Posts: 512
Reputation: 5,555


Return to How do I....?

Who is online

Users browsing this forum: David181, InfiniteRockets, marcinkowski, Yahoo [Bot] and 16 guests