You will need to call Get Lua Scripts every time you change to a different game in TTS. Commandĭownloads all existing scripts in a loaded Tabletop Simulator game with Atom. TTS must be running with the game loaded for these functions to work. Both functions can be called directly from the Packages menu or the right click contextual menu. The Atom plugin can directly connect to a running instance of Tabletop Simulator to get all of the existing Lua scripts on Objects and to call Save & Play. Functions belonging to the Lua standard library classes such as math, coroutine, or os link directly to the official Lua documentation. Easily see all of the member variables and functions available to you with their parameters, return type, short description, and a link directly to our Knowledge Base with more information for that variable or function. The entire Tabletop Simulator Lua Scripting API (with the exception of the Player class) has been added to the native Atom autocomplete system. Syntax Highlighting ¶Īll standard Lua syntax is highlighted in multiple colors to help with readability. Check out a more complete documentation on the plugin specifically in the plugin wiki. This is only a summarized list of features Atom offers. Prefer another text editor? Take look at our External Editor API to make your own plugin. The in-game editor will continue to exist for quick access to scripts, but development on it will cease to continue. Our official plugin introduces syntax highlighting, code autocompletion for the Tabletop Simulator Lua API, and functions to interact with the game. This page provides a basic overview of how to install and use the plugin if you would like a more in-depth explanation of its features and how to install/use it then please see its documentation: We created an official plugin for the Atom text editor to make writing Lua scripts for Tabletop Simulator super easy and fun! Atom is a text editor that's modern, approachable, yet hackable to the core - a tool you can customize to do anything but also use productively without ever touching a config file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |