Lua:createFoundList

From Cheat Engine
Revision as of 19:34, 26 June 2026 by Leunsel (talk | contribs) (Syntax Highlighting.)
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