breakmt
Member
Hello!
I doubt that it is possible, but anyway.
I have an object with variable, which I set in "Variable Definitions" window. Is there any way to get initial value of this variable?
Example:
Variable "hp" (health points) = 35 -> Instance changed this variable to 13 -> Now I want to reset it's value back to 35.
One way I see it's to keep 2 variables - hp_original and hp_current, but it would be a bit better if I could keep just one variable.
Thanks!
I doubt that it is possible, but anyway.
I have an object with variable, which I set in "Variable Definitions" window. Is there any way to get initial value of this variable?
Example:
Variable "hp" (health points) = 35 -> Instance changed this variable to 13 -> Now I want to reset it's value back to 35.
One way I see it's to keep 2 variables - hp_original and hp_current, but it would be a bit better if I could keep just one variable.
Thanks!