GetPlayerHeadNames

From Wiki G1R-MP G1 Remake Multiplayer
Revision as of 18:59, 15 August 2026 by QCherry (talk | contribs) (Document player skin, body and head appearance API)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

getPlayerHeadNames

Returns every independently selectable Nameless Hero head option.

Syntax

table getPlayerHeadNames()

Parameters

This function does not accept parameters.

Returns

Returns default, head_01 and head_02 in a one-based array.

Examples

List the available independent heads:

for _, headKey in ipairs(getPlayerHeadNames()) do
    outputDebugString(headKey)
end

Notes

  • Available only in server-side resource scripts.
  • The G1R MO_Player Mutable exposes only Head_01 and Head_02 as independent head choices.
  • These choices are compatible only with the default body.