1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-28 18:18:52 +00:00
OpenMW/files/lua_api
2023-10-24 09:23:25 +00:00
..
openmw Add global variable access to world.mwscript (#7597) 2023-10-24 09:23:25 +00:00
CMakeLists.txt Remove 'music' package 2023-09-13 09:11:07 +04:00
coroutine.doclua
global.doclua Documentation and API fixes (part of !2529) 2023-01-30 10:13:26 +00:00
math.doclua
os.doclua
README.md
string.doclua
table.doclua
utf8.doclua add documentation 2023-08-28 02:37:52 +08:00

Files in this directory describe OpenMW API for Lua Development Tools (LDT).

*.doclua files are taken (with some modifications) from LDT distribution and are distributed under MIT license. Openmw-specific docs (openmw/*.lua) are under GPLv3 license.

To get a Lua IDE with integrated OpenMW documentation and code autocompletion do the following:

  1. Install and run LDT.
  2. Press File / New / Lua Project in menu.
  3. Specify project name (for example the title of your omwaddon)
  4. Set Targeted Execution Environment to No Execution Environment, and Target Grammar to lua-5.1.
  5. Press Next, choose the Libraries tab, and click Add External Source Folder. Then specify there the path to this directory.
  6. Press Finish.