Skip to content

Watchlist

Lenart Bezek edited this page Jul 5, 2016 · 4 revisions

Watchlist is a better alternative to console debugging.
By default, you can open it with Ctrl + I.

It can access global Python variables by name. Local variables can be reported through script.

Besiege.Watch("Display name:", variable)

Global variables can be edited. If you wish to report a global variable through script and be able to edit it, you must report it with it's name as display name

example_var = Vector3(1, 2, 3)
Besiege.Watch("example_var")
# or
Besiege.Watch("example_var", example_var)

Watchlist

Tutorials
Guides to scripting from basic to advanced.

Installation
Required file structure.

Running scripts
Get started; how to run scripts and how to import / export them.

Block identifiers
How to select blocks.

Block handlers
Manipulating blocks.

Functions
All available functions.

Property identifiers
How to select block properties.

Watchlist
How to debug your script.

API
How to integrate with your mod.

Console commands
Mod configuration and Python console commands.


Fueled by coffee

ko-fi button

Clone this wiki locally