GetPlayerBodyNames
getPlayerBodyNames
Returns every validated full-body identity preset exposed by the server.
Syntax
table getPlayerBodyNames()
Parameters
This function does not accept parameters.
Returns
Returns a one-based array of stable body keys. The first entry is default.
Examples
List every available full-body preset:
for _, bodyKey in ipairs(getPlayerBodyNames()) do
outputDebugString(bodyKey)
end
Notes
- Available only in server-side resource scripts.
- Named G1R characters are complete visual presets containing their original body, head and outfit or armor appearance.
- Independent head and armor visuals are shown with the
defaultbody. - Use
defaultto restore the editable Nameless Hero body. - See Player body catalog for the complete list.