GetPlayerHeadNames
Jump to navigation
Jump to search
getPlayerHeadNames
Deprecated compatibility API that returns every validated legacy head-layer option.
Syntax
table getPlayerHeadNames()
Parameters
This function does not accept parameters.
Returns
Returns a one-based array containing native Mutable options and named character identity layers. The first entry is default.
Examples
List the available independent heads:
for _, headKey in ipairs(getPlayerHeadNames()) do
outputDebugString(headKey)
end
Notes
- Available only in server-side resource scripts.
- Deprecated: use
getPlayerIdentityNamesfor complete character identities. - The
head_01andhead_02entries use native Mutable geometry. - Named entries copy compatible face, eye and skin materials to the Mutable character and render only validated hair or beard sections on the common human skeleton.
- No named entry includes the source character's armor.
- See Player head catalog for the complete list.