Jump to content

BSL:BFW Scripting Language: Difference between revisions

m
Line 1: Line 1:
== Oni Scripting Language (or OSL) ==
== Oni Scripting Language (or OSL) ==
is what Oni scripts are written in.
is what [[OSL:Scripts|Oni scripts]] are written in. It's a programming language akin to C with some shell-script features as well.
 
===Knowledge database===
Please excuse the mess.
For the theoretical minds, everything you'll ever need to know about OSL
 
*[[OSL:Statements|Statements]]
*[[OSL:Variables|Variables]]
*[[OSL:Functions|Functions]]
*[[OSL:Operators|Operators]]
*[[OSL:Data|Data types]]
===[[OSL:Tutorial|Tutorials]]===
For the practical minds who don't care (too much) about the theory.
*Wanna make minor (yet cool-looking) changes to the original level logic?
*Wanna script a "patch" that's effective in every level but doesn't affect the original logic?
*Wanna create completely new level logic from scratch? [[OSL:Tutorials/Scratch|Here you are]]
==Overview==
{| border="1" cellpadding="5" cellspacing="0" align="center"
{| border="1" cellpadding="5" cellspacing="0" align="center"
|+'''OSL syntax overview table'''
|+'''OSL syntax overview table'''
Line 80: Line 90:
|}
|}
|}
|}
[[Scripting : Simple Scripts|Here]] is a tutorial section on how to write simple scripts. Its a work-in-progress.