Engine:Console commands: Difference between revisions

 
(4 intermediate revisions by the same user not shown)
Line 78: Line 78:
Assignments:
Assignments:
: Explicit context name is 'lua' reachable through 'global'
: Explicit context name is 'lua' reachable through 'global'
: Inherits 'global' context
: Default reachable contexts: none. See 'exit' command
 
: Optional reachable contexts: none
Contexts:
: Default self-reference context: 'lua'
: lua - self-reference to this 'lua' context
: Does not inherit 'global' context


Lua context commands:
Lua context commands:
Line 88: Line 88:
: [[CCMD lua.block|block]] - lua run - Runs a Lua command block in the Lua runtime
: [[CCMD lua.block|block]] - lua run - Runs a Lua command block in the Lua runtime
: [[CCMD lua.exit|exit]] - lua exit - Immediately switches current context to 'global'
: [[CCMD lua.exit|exit]] - lua exit - Immediately switches current context to 'global'
Lua context variables:
: none


Lua context aliases:
Lua context aliases: