Skip to content

Script

The Script section will introduce the scripting system of BME Pro.

Reading Suggestions

  • The scripting language used by BME Pro is JavaScript. This tutorial does not include a JavaScript tutorial. Please ensure you have a basic understanding of JavaScript syntax.

  • Please make sure you have a code editor installed on your computer, such as Visual Studio Code.

  • Before using scripts, it is recommended to download BME Script Typings to add BME Pro's code completion features to your editor.

  • After completing this section, you will be able to write scripts to create maps with unique mechanics and even customize your own BME Pro editor.

Data Types

Both Game Script and Editor Script can import and use the following 7 basic data types:

  • Float2
  • Float3
  • Float4
  • Quaternion
  • Bool3
  • Trans
  • ColorRGBA

For details, see BST/_Typings/utils/basicData.d.ts.

Released under the MIT License.