1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-01 12:39:42 +00:00

Merge branch 'kantoniak/lua-docs-fixes' into 'master'

Apply minor fixes to Lua documentation

See merge request OpenMW/openmw!2785

(cherry picked from commit 56c8c25a0e)

ccdd381f Minor fixes to Lua documentation
This commit is contained in:
psi29a 2023-03-01 21:07:46 +00:00
parent 66bd283d4b
commit 7a52b9d1d8
2 changed files with 3 additions and 2 deletions

View file

@ -130,7 +130,7 @@ return {
-- {
-- key = 'Flag',
-- default = false,
-- renderer = 'yeNo',
-- renderer = 'checkbox',
-- name = 'Flag',
-- description = 'Flag toggle',
-- },

View file

@ -4,7 +4,8 @@
-- @module self
-- @extends openmw.core#GameObject
-- @usage local self = require('openmw.self')
-- if self.type == 'Player' then -- All fields and functions of `GameObject` are available.
-- local types = require('openmw.types')
-- if self.type == types.Player then -- All fields and functions of `GameObject` are available.
-- self:sendEvent("something", self.position)
-- end