OpenMW
latest

Table of Contents

  • User Manuals
  • Reference Material
    • OpenMW Modding Reference
    • OpenMW Lua scripting
      • Overview of Lua scripting
      • Lua API reference
      • Teal
    • OpenMW Post Processing
    • So you want to help with documentation?
OpenMW
  • Reference Material
  • OpenMW Lua scripting
  • Edit on GitLab

OpenMW Lua scriptingΒΆ

Note

OpenMW Lua is not compatible with MWSE.

OpenMW version: 0.49.0
core.API_REVISION: 51 *

Table of Contents

  • Overview of Lua scripting
    • Language and sandboxing
    • Basic concepts
    • How to run a script
    • Lua scripts naming policy
    • Format of .omwscripts
    • Hot reloading
    • Lua console
    • Script structure
    • Engine handlers
    • onSave and onLoad
    • API packages
    • Script interfaces
    • Event system
    • Timers
    • Using IDE for Lua scripting
  • Lua API reference
    • Engine handlers reference
    • User interface reference
    • Built-in AI packages
    • Built-in Setting Renderers
    • Built-in events
    • Package openmw.util
    • Package openmw.storage
    • Package openmw.core
    • Package openmw.types
    • Package openmw.async
    • Package openmw.vfs
    • Package openmw.world
    • Package openmw.self
    • Package openmw.nearby
    • Package openmw.input
    • Package openmw.ambient
    • Package openmw.ui
    • Package openmw.camera
    • Package openmw.postprocessing
    • Package openmw.debug
    • Package openmw_aux.calendar
    • Package openmw_aux.util
    • Package openmw_aux.time
    • Package openmw_aux.ui
    • Interface Activation
    • Interface AI
    • Interface Camera
    • Interface Controls
    • Interface ItemUsage
    • Interface MWUI
    • Interface Settings
    • Interface UI
    • Iterable types
  • Teal
    • What is Teal?
    • Using the type checker
    • IDE support
Previous Next

© Copyright 2023, OpenMW Team. Revision b67d89f2.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
stable
openmw-0.48.0
openmw-0.47.0_a
openmw-0.46.0
openmw-0.45.0
openmw-0.44.0
openmw-0.43.0
openmw-0.42.0
openmw-0.41.0
openmw-0.40.0
openmw-0.39.0
Downloads
On Read the Docs
Project Home
Builds