mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
Minor fixes to Lua documentation
This commit is contained in:
parent
a9fdb51041
commit
ccdd381f96
@ -131,7 +131,7 @@ return {
|
||||
-- {
|
||||
-- key = 'Flag',
|
||||
-- default = false,
|
||||
-- renderer = 'yeNo',
|
||||
-- renderer = 'checkbox',
|
||||
-- name = 'Flag',
|
||||
-- description = 'Flag toggle',
|
||||
-- },
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user