For me variables are like boxes. You use them to store stuff in.
When you create a variable, it is empty - so it is like an empty box.
Then you can assing a value to it - you fill the box.
Then you can read the value at some other time, or from some other code - you look what is in the box.
Or you can change the value - you take out what is in the box, and put there something else.
In game-editor there are two kinds of variables:
Global:These variables only exist one time in the game. An example is the score (in a one player game)
Actor:These variables exist for each actor in the game. An example is the x or y position.
Game editor comes with a number of predefined variables:
http://game-editor.com/VariablesBut you can create as many other variables as you like (or need).
How to create them, and what kind of variable can you make?
See this link
http://game-editor.com/Creating_variablesSo the only variable that doesn't really fit the box description is the array.
An array is more like a closet full of boxes.
So you can have an array with a size of 10, that means you have 10 boxes in the closet.
Then you can fill each box with a value, and do all the stuff you can do with
"normal" variables.
Just keep in mind that the first box in the closet is number 0. So the tenth box is number 9.
I hope this makes sense