BSL:BFW Scripting Language: Difference between revisions

From OniGalore
Jump to navigation Jump to search
Line 8: Line 8:
*[[OSL:Operators|Operators]]
*[[OSL:Operators|Operators]]
*[[OSL:Data|Data types]]
*[[OSL:Data|Data types]]
*[[OSL:IGMD|IGMD folder]]
*[[OSL:IGMD/global|global folder]]
===[[OSL:Tutorial|Tutorials]]===
===[[OSL:Tutorial|Tutorials]]===
For the practical minds who don't care (too much) about the theory.
For the practical minds who don't care (too much) about the theory.

Revision as of 18:42, 17 November 2005

Oni Scripting Language (or OSL)

is what Oni scripts are written in. It's a programming language akin to C with some shell-script features as well.

Knowledge database

For the theoretical minds, everything you'll ever need to know about OSL

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? Here you are

Overview

OSL syntax overview table
OSL separators
; , # "
{ } ( )

Click on a separator for details

OSL operators
+ - = !
and or eq ne
< > <= >=

Click on an operator for details

OSL keywords
at float if repeat string
bool for int return using
else fork iterate schedule var
every func over sleep void

Click on a keyword for details