For the complete documentation index, see llms.txt. This page is also available as Markdown.

getAvatar

API - gets a specific avatar

return function()
    local targetAvatar = getAvatar('block_man');
    if targetAvatar == nil then
        log('target avatar could not be found!')
    else
        log (targetAvatar.name);
        for (i,gear in pairs(targetAvatar.Gear()))
            log(gear); --prints the gear sets that are available to the avatar
        end
    end
end
Avatar

Last updated