BSL:BFW Scripting Language: Difference between revisions

From OniGalore
Jump to navigation Jump to search
Line 80: Line 80:
|}
|}
|}
|}
[[Scripting : Simple Scripts|Here]] is a tutorial section on how to write simple scripts. Its a work-in-progress.

Revision as of 05:43, 15 November 2005

Oni Scripting Language (or OSL)

is what Oni scripts are written in.

Please excuse the mess.

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


Here is a tutorial section on how to write simple scripts. Its a work-in-progress.