Normal local variable is static?

Get help using Construct 2

Post » Sun Jul 19, 2015 7:14 pm

Image

This local variable is to call this function maximum once per tick, but on future ticks, it is already set to 1. So its once all time...
It behaves like a static variable, why?
I do not understand that...
Sorry for my bad english, but I really do my best! And use and check with Google Translator.
B
10
S
4
G
1
Posts: 158
Reputation: 1,303

Post » Sun Jul 19, 2015 8:10 pm

Ok, I have a solution.
Even though I do not understand why the first was not.
This works...
Image
Sorry for my bad english, but I really do my best! And use and check with Google Translator.
B
10
S
4
G
1
Posts: 158
Reputation: 1,303


Return to How do I....?

Who is online

Users browsing this forum: Clark Thy Lord, timoteomorelli and 1 guest