Login

Fancade Wiki

Updated Introduction to Editor Scripting.md (markdown)

... ...
@@ -1,4 +1,4 @@
1
Editor Scripting is a feature that can be accessed in command line by entering 'EditorScript' keyword.
1
Editor Scripting is a feature that can be accessed in command line by entering `EditorScript` keyword.
2 2
3 3
*Practical and potential uses to be determined
4 4
... ...
@@ -7,9 +7,9 @@ Editor script uses JS (JavaScript), also not to be confused with Java which is a
7 7
8 8
Unlike most programming languages JS uses a versatile variable declaration this means you can set a variable to any type value casually. JS uses 3 variable declaration key:
9 9
10
'var' - commonly used variable, is global and can be called anywhere after declaration
11
'const' - is a variable that represents a constant value, usually declared before everything
12
'let' - is a variable that represents a local variable, its value only persist inside the codeblock '{}' where it is located
10
`var` - commonly used variable, is global and can be called anywhere after declaration
11
`const` - is a variable that represents a constant value, usually declared before everything
12
`let` - is a variable that represents a local variable, its value only persist inside the codeblock `{}`` where it is located
13 13
14 14
15 15
Fancade Wiki