Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
gdevelop5:tutorials:storage-action-explained [2019/01/24 18:57]
4ian
gdevelop5:tutorials:storage-action-explained [2019/02/08 11:52] (current)
lizard-13 Escape underscores
Line 34: Line 34:
 **Object variable:** **Object variable:**
  
-object_name.Variable(variable_name)+object\_name.Variable(variable\_name)
  
-object_name.VariableString(variable_name)+object\_name.VariableString(variable\_name)
  
 **Scene variable:** **Scene variable:**
  
- ​Variable(variable_name)+ ​Variable(variable\_name)
  
- ​VariableString(variable_name)+ ​VariableString(variable\_name)
  
 **Global variable:​** ​ **Global variable:​** ​
  
-GlobalVariable(variable_name)+GlobalVariable(variable\_name)
  
-GlobalVariableString(variable_name)+GlobalVariableString(variable\_name)
  
 An important thing you need to keep in mind, **Write Value** can be used only to write number and **Write Text** can be used only to write text into the file and you need to keep this in mind when you using the expressions too. The ones with a** String** in the expressions are for calling text variables and the ones without it are for calling number variables. An important thing you need to keep in mind, **Write Value** can be used only to write number and **Write Text** can be used only to write text into the file and you need to keep this in mind when you using the expressions too. The ones with a** String** in the expressions are for calling text variables and the ones without it are for calling number variables.