How do I Reset Instance Variable To Initial Value?

Get help using Construct 2

Post » Tue Jun 23, 2015 1:15 pm

In the event sheet I want to reset instance variable to its initial value.

For example, when certain instance variable reaches 0 I want it to reset to its initial value. I cannot find a way to do this.
B
15
S
5
Posts: 29
Reputation: 1,071

Post » Tue Jun 23, 2015 1:27 pm

sprite set instance variable?

If the initial value changes (which seems strange, because it's the initial value and is set once) you might want to add an initial value instance variable and set the instance variable to that when 0 is reached..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, dand, tinhofiel and 32 guests