Player::setHeadBlend: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "== Syntax == <syntaxhighlight lang="javascript"> player.setHeadBlend(Number shapeFirstID, Number shapeSecondID, Number shapeThirdID, Number skinFirstID, Number skinSecondID,...")
 
m (category)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
player.setHeadBlend(Number shapeFirstID, Number shapeSecondID,
player.setHeadBlend(Number shapeFirstID, Number shapeSecondID,
   Number shapeThirdID, Number skinFirstID, Number skinSecondID,
   Number shapeThirdID, Number skinFirstID, Number skinSecondID,
   Number skinThirdID, Number shapeMix, Number skinMix, Number thirdMix,
   Number skinThirdID, Number shapeMix, Number skinMix, Number thirdMix)
  boolean isParent)
</syntaxhighlight>
</syntaxhighlight>


Line 15: Line 14:
Third ID: If you feel like another ID should be mixed in. Personally I leave 3rd IDs to 0 and 0.0f mix. Basically they appear to relate to the parent / legacy character customization in GTAO.
Third ID: If you feel like another ID should be mixed in. Personally I leave 3rd IDs to 0 and 0.0f mix. Basically they appear to relate to the parent / legacy character customization in GTAO.


IsParent: I'm assuming SET_PED_HEAD_BLEND_DATA can be called again to reference this character as a parent.
[[Category:Player Appearance]]
[[Category:Server-side Function]]

Latest revision as of 13:11, 30 April 2019

Syntax

player.setHeadBlend(Number shapeFirstID, Number shapeSecondID,
  Number shapeThirdID, Number skinFirstID, Number skinSecondID,
  Number skinThirdID, Number shapeMix, Number skinMix, Number thirdMix)

Shape / Skin First ID: "Mother"

Shape / Skin Second ID: "Father"

Shape / Skin Mix: Float values ranging from 0.0 ("Mother") to 1.0 ("Father").

Third ID: If you feel like another ID should be mixed in. Personally I leave 3rd IDs to 0 and 0.0f mix. Basically they appear to relate to the parent / legacy character customization in GTAO.