GetPlayerHeadNames

From Wiki G1R-MP G1 Remake Multiplayer
Revision as of 06:12, 24 August 2026 by QCherry (talk | contribs) (Document Protocol 23 voice and player presentation APIs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 getPlayerIdentityNames for complete character identities.
  • The head_01 and head_02 entries 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.