trusted-editors
115
edits
Please create an account or Login! Have fun!
m (→Advanced scripting: Rename highspeed to speed since it's very weird to reference wrong variable names due to lax variable name rules) |
(Add lax variable name rules description) |
||
Line 72: | Line 72: | ||
In addition, variables can be formatted into strings in script sections by placing the variable after a string with a printf-style format specifier: | In addition, variables can be formatted into strings in script sections by placing the variable after a string with a printf-style format specifier: | ||
"flags = %ld" flags | "flags = %ld" flags | ||
If a variable name is invalid, CC2 will search the substrings of the variable name to find a variable name: | |||
10 highspeed = ; Same as 10 speed = | |||
=== Score === | === Score === |