Skip to content

FindSouls

Souls whose name or archetype holds every word of a pattern.

"Horse" alone lists the breeds; "Dog" the dogs; a word of a name narrows it.

FindSouls(pattern [, max])
Parameter Type
pattern string words to look for, case-insensitive
max number at most this many (10) (optional)

table - a list of {id=, name=, guid=, archetype=}

for _, s in ipairs(FindSouls("horse black", 5)) do Log(s.id, s.name) end

GetSoulInfo · GetHorseSoul · CreateActor · the Catalogues group of the index