Skip to content

Legion-Scripting-Setup

This is a guide to get set up for easy scripting in legion scripting!

  • Install VSCode from code.visualstudio.com
  • This is a Microsoft product, it is not required to use this, you can use another code editor like Zed
  • Open TazUO and type -updateapi in-game. This will download a python file enabling some auto-complete features in VScode.
  • Get coding!
  • Type -updateapi in game or:
    • For Python Scripting add import API to the top of your .py files for auto complete:
      image
  • You can click on the Edit Externally button on a script in game
    image
  • Make sure to set .py and .lscript files to open with VScode as default if your OS asks you too.
  • All Python Scripting methods begin with API.

We have a public script library available for you to post your scripts, download other scripts or see examples of how to script stuff!