BSL:Manual: Difference between revisions

2 bytes removed ,  6 December 2015
m
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|here]]. 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.
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====