0
Answered

Set variable = other variable

Timothee Dumarais 7 months ago in Game Creator updated by Marti (Lead Developer) 7 months ago 1

Hi marti, sorry for my bad english.
I noticed when using '' set variable number '' that we have to put a value. It would be useful to have the choice to choose another variable (global, local ...). There is of course another solution, but I thought that it could be useful for certain neophyte.
You can even apply this to subtraction, multiplication, division, addition.

Unity version:
2018+
Game Creator version:
Latest

Answer

Answer
Answered

Hi Tim;

You can use the Math Variable action for this. Instead of performing an operation, simply assign the other variable's value.

Answer
Answered

Hi Tim;

You can use the Math Variable action for this. Instead of performing an operation, simply assign the other variable's value.