18,700
edits
m (→Built-in vs. script-defined: wording) |
m (→Built-in) |
||
Line 505: | Line 505: | ||
====Built-in==== | ====Built-in==== | ||
Built-in variables are hardcoded into Oni, that is, they were declared in C along with the rest of the engine code and then registered as accessible to BSL scripts, so you will not find them declared in any game script. The built-in variables are listed [[BSL:Reference | Built-in variables are hardcoded into Oni, that is, they were declared in C along with the rest of the engine code and then registered as accessible to BSL scripts, so you will not find them declared in any game script. The built-in variables are listed on [[BSL:Reference]]. Guidance on how to use them is found in the [[:Category:Scripting tasks|Scripting tasks]] category. You can get and set the value of any built-in variable from a script or from the developer console. | ||
====Script-defined==== | ====Script-defined==== |