Skip to content

KcdMp.census

The entity classes of the level with the most instances.

KcdMp.census(top)
Parameter Type
top number how many classes to list

number, string - total, list - the number of entities and a string "Class n, Class n, ..." of the top most common

local total, list = KcdMp.census(5)
System.LogAlways(string.format("[KcdMp] %d entities: %s", total, list))

KcdMp.count · the Helpers group of the index