Timer Issue

senkansenkan Member, PRO Posts: 2
Hi, people.

Let me try to explain my problem:

volume = 0
(real)timer = 1

timer[
every (timer)
change attribute (volume) to ((volume+1)%2)
]

That should make volume goes up and down every second. And it does.

Problem is when I have another actor when pressed makes (timer) = ((timer)+0.2)

It seems that when timer is first started it can't change its value.

How to fix that?

Thanks in advance

Comments

Sign In or Register to comment.