engineGetRadarMapStats
Client-side
Returns the current extended-radar hook, registration, loading, failure, and source-byte counters.
Syntax
table engineGetRadarMapStats()Returns
A table with hooksInstalled, registeredTiles, loadedTiles, failedTiles, and sourceBytes.
Ownership and lifecycle
The resource that creates the TXD owns its tiles. Destroy the TXD or stop the resource and Neon unregisters them.
Example
local stats = engineGetRadarMapStats()outputDebugString(("radar: %d/%d loaded"):format(stats.loadedTiles, stats.registeredTiles))Where this comes from
SOURCECLuaEngineDefs.cppClient/mods/deathmatch/logic/luadefs/CLuaEngineDefs.cpp INTRODUCED / EXTENDED766727162Read the commit and why the change was made RELATED CATEGORY HARNESS extended-radar-test Category-level coverage · test-resources/extended-radar-test
RELATED NEON APIS
Read the system guide → Continue exploring
← Back to the Neon Lua API · How Extended native radar works →