Skip to content

GetMapIconTypes

The game’s map icon types.

GetMapIconTypes()

table - {{name, guid, icon, legend, service}, ...} by name (legend: the English legend name; service: a shop or a service; icon -1: no picture)

for _, t in ipairs(GetMapIconTypes()) do
if t.service then Log(t.name .. ": " .. t.legend) end
end

CreateMapIcon · the Map icons group of the index