- Download battlezone2_defs.lua to any location on your PC (I recommend putting it somewhere you can easily remember E.G. Documents)
- Open Visual Studio Code and Navigate to the Extensions Page
- If necessary, install Sumneko's Lua Language Server
- When installed, navigate to the
settings.json
file that comes with the extension which can be located in:%appdata%\Code\User
. - Copy the following code: ```
"Lua.workspace.library": ["<ADD LOCATION OF WHERE YOU SAVED BATTLEZONE2_DEFS.LUA>"],
- Restart Visual Studio Code.
Any issues? Feel free to hop in to Discord: