For Each + Every X Seconds not Working.

Get help using Construct 2

Post » Wed Oct 30, 2013 5:27 am

I want to have all my Red Ball Objects rising Life atribute within every self individual time that can be a different for the othe objects of the same type.

Example:

Red.Time = 2;
(So this object will every 2 seconds rises 1 of his Life atribute.)

And when I instantiate another one of the same type object,the timer stop working individualy. It considers the time from the first "Red" Object instantiated.

So, my question is: How can I treat objects of the same type with individual timers?

Capx
B
13
S
3
G
1
Posts: 60
Reputation: 1,828

Post » Wed Oct 30, 2013 5:37 am

Use the Timer behaviour.
ImageImageImage
B
71
S
21
G
233
Posts: 3,696
Reputation: 130,368

Post » Wed Oct 30, 2013 5:53 am

Hahah! Worked! Ty @blackhornet
B
13
S
3
G
1
Posts: 60
Reputation: 1,828


Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], Yahoo [Bot], yiuyiu6666 and 14 guests