You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
776 B
16 lines
776 B
# copySocket |
|
|
|
.. is a simple [SnekStudio] module that hosts a WebSocket server to receive hardcoded commands to affect certain things within SnekStudio from the outside. When added, it hosts a server at `ws://127.0.0.1:13981`. |
|
|
|
The included `send.gd` script may be used to send commands if another utility is not available, however it takes a small amount of time to start up. The following example makes the `CameraPositions` mod switch to "Camera 1". |
|
|
|
```sh |
|
# --headless - Don't create a window. |
|
# -q/--quiet - Only print errors. |
|
# -s <script> - Run a specific script. |
|
godot --headless -q -s path/to/send.gd -- camera 1 |
|
``` |
|
|
|
If the Godot Editor is not available, the SnekStudio binary can be used in its place. |
|
|
|
[SnekStudio]: https://github.com/ExpiredPopsicle/SnekStudio
|
|
|