GetPlayerHeadNames
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_PlayerMutable exposes onlyHead_01andHead_02as independent head choices. - These choices are visually supported only with the
defaultbody. Named body presets retain their original head.