Difference between revisions of "Lua:createLuaEngine"

From Cheat Engine
Jump to navigation Jump to search
(Initial page creation.)
 
m (Added related function template.)
 
(One intermediate revision by the same user not shown)
Line 21: Line 21:
  
 
===Examples===
 
===Examples===
<pre>
+
<syntaxhighlight lang="lua" line>
 
local luaEngine = createLuaEngine()
 
local luaEngine = createLuaEngine()
 
luaEngine.show()
 
luaEngine.show()
</pre>
+
</syntaxhighlight>
  
 
{{LuaSeeAlso}}
 
{{LuaSeeAlso}}
 +
 +
{{Creation}}

Latest revision as of 23:45, 26 June 2026

<> Lua API Reference

function createLuaEngine() : LuaEngine

Creates a Lua Engine editor window.

If no main Lua Engine window exists yet, the created instance becomes the main Lua Engine window.

Function Parameters[edit]

Parameter Type Description
None This function does not take parameters.

Returns[edit]

LuaEngine — The created Lua Engine form.

Examples[edit]

1 local luaEngine = createLuaEngine()
2 luaEngine.show()

Main Pages

Core Lua documentation entry points

Lua
Script Engine

Basic Visual Controls

Text / Input Controls

Value / Progress Controls

Graphics / Resources

Strings / Streams

Timers / Hotkeys

Scanning / Found Lists

Other Creation Helpers