mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-01 22:36:39 +00:00
Merge branch 'kantoniak/lua-docs-fixes' into 'master'
Apply minor fixes to Lua documentation See merge request OpenMW/openmw!2785
This commit is contained in:
commit
56c8c25a0e
2 changed files with 3 additions and 2 deletions
|
@ -131,7 +131,7 @@ return {
|
||||||
-- {
|
-- {
|
||||||
-- key = 'Flag',
|
-- key = 'Flag',
|
||||||
-- default = false,
|
-- default = false,
|
||||||
-- renderer = 'yeNo',
|
-- renderer = 'checkbox',
|
||||||
-- name = 'Flag',
|
-- name = 'Flag',
|
||||||
-- description = 'Flag toggle',
|
-- description = 'Flag toggle',
|
||||||
-- },
|
-- },
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
-- @module self
|
-- @module self
|
||||||
-- @extends openmw.core#GameObject
|
-- @extends openmw.core#GameObject
|
||||||
-- @usage local self = require('openmw.self')
|
-- @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)
|
-- self:sendEvent("something", self.position)
|
||||||
-- end
|
-- end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue