Blade3D scripting support allows you to add logic to your game through script.
Scene objects and items in the object model can be accessed through script and interact with each other.
To add a script to an object right click on its node in the Object Browser and select Add Script.
The Bound Property Selector dialog is shown.
It contains all the properties and events on the object presented in categories.
When you select a property from the list, the newly created script will be called whenever that property changes.
You can also click on the Events tab to select an event.
For example if your choose MouseClick, the script will be called when the mouse is clicked on the object.
To invoke the script on any property change check the Any Property checkbox at the bottom and click Ok.
To access the script editor click on the Script Editor tab at the bottom of the application.
You will find a list of all available scripts on the left hand side of the Script Editor Window.
Click on the created script to start modifying it.
Changes to the script will be saved automatically when the editor loses focus.
You can also click F12 to save the script at any point.
The script editor has a familiar feel to Visual Studio featuring syntax color highlighting, statement completion, parameter help, error and warning highlighting.
-