Engine:Console commands: Difference between revisions

 
(7 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
: Default self-reference context: 'lua'
: Does not inherit 'global' context


Lua context commands:
Lua context commands:
Line 85: 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:
: none
: none
Lua functions placed in a Lua runtime by the lua context:
: [[CLUA script|script]] - Runs an engine script from the Lua runtime.
: [[CLUA require|require]] - Loads and runs lua text file asset from engine data.


=== Msg module ===
=== Msg module ===