Instance specific timer

Get help using Construct 2

Post » Thu Sep 20, 2012 1:33 pm

I have a bunch of objects, lets say monsters moving on the screen, they are randomly generated every 5 seconds.

I want each monster to drop say an egg every so often

i tried using a system every 3 seconds drop an egg, but it means that each instance of a monster drops an egg at exactly the same time

is there a way to say each instance wait a random amount of time then drop an egg?
B
11
S
2
G
3
Posts: 95
Reputation: 3,028

Post » Thu Sep 20, 2012 1:41 pm

I got it sorry, used an instance variable on the sprite, incremented it each second, so in a way it has it's own timer so when it has been on screen for 3 seconds it drops an egg, thanks
B
11
S
2
G
3
Posts: 95
Reputation: 3,028


Return to How do I....?

Who is online

Users browsing this forum: Renfd, supreme676 and 27 guests