Lua:createFoundList

From Cheat Engine
Revision as of 23:56, 26 June 2026 by Leunsel (talk | contribs) (Added related function template.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<> Lua API Reference

function createFoundList(memscan) : FoundList

Creates a FoundList for a MemScan object.

Call initialize() after the scan has finished to open its result file for reading.

Function Parameters

Parameter Type Description
memscan MemScan Completed memory scan whose result file the FoundList will read.

Returns

FoundList — The created result-list reader.

Examples

1 local scan = createMemScan()
2 -- Configure and complete the scan first.
3 local found = createFoundList(scan)
4 found.initialize()
5 print(found.Count)

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