BSL:BFW Scripting Language: Difference between revisions

Line 5: Line 5:


==Editing Scripts==
==Editing Scripts==
Scripts can be edited with and word-processing program, such as NotePad. They can be edited simply by typing inside the file.
Scripts can be edited with the simplest of word-processing programs, such as the built-in WordPad (Windows) or TextEdit (Mac). They can be edited simply by typing inside the file. When saving, you must either ensure that the suffix is .bsl or that you use the suffix .txt and afterwards change it to .bsl.
Script files can be generated by creating a *.txt document, then changing the extension from "txt" to "bsl". To learn BSL by example, you can read the .bsl files in Oni and draw connections to the events in the game that were produced by those scripts. For a primer in writing BSL, see the Tutorials section below. For a thorough course in BSL, see the Knowledge Database below.
 
- To learn BSL by example, you can read the .bsl files in Oni and draw connections to the events in the game that were produced by those scripts.<br>
- For a primer in writing BSL, see the Tutorials section below.<br>
- For a thorough course in BSL, see the Knowledge Database below.


==Scripted Mods==
==Scripted Mods==