Login

Fancade Wiki

Updated Set Variable.md (markdown)

... ...
@@ -24,7 +24,7 @@ Note that two variables with the same name with one being a global will not coun
24 24
25 25
### Saved variables
26 26
27
*See also: [[/Script/What does 'saved variables' mean?]]*
27
<<SeeAlso(/Script/What does 'saved variables' mean?)>>
28 28
29 29
Saved variables were added in Fancade 1.6. Like global variables, you can make a saved variable by pressing the Local/Global/Saved button on the keyboard where you type the variable's name. Saved variables gain a `!` at the start of their name.
30 30
... ...
@@ -32,8 +32,6 @@ Saved variables were added in Fancade 1.6. Like global variables, you can make a
32 32
33 33
As the name implies, saved variables persist their value from one game session to the next. This is true whether the user ends the game by winning, dying, or simply pausing and returning to the menu.
34 34
35
Additionally, saved variables are shared across all levels in the same game. This allows a player's actions in one level to affect their gameplay in other levels, and to keep track of purchases from the [Menu Item](https://www.fancade.com/wiki/Blocks/Menu%20Item.md) block.
35
Additionally, saved variables are shared across all levels in the same game. This allows a player's actions in one level to affect their gameplay in other levels, and to keep track of purchases from the [Menu Item](https://www.fancade.com/wiki/Blocks/Menu%20Item.md) block.
36 36
37
Saved variables currently only work with number variables.
38
39
A game can have up to 64 saved num variables
... ...
\ No newline at end of file
0
Saved variables currently only have number type and there can be up to 64 saved variables per game.
Fancade Wiki