GBX.lua.BodyColors (Object): Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
(Created page with "{{CatUp|Class reference}} {{Preliminary}} This object is automatically inserted into a player's Character when they connect to a game. This object sets the colors for the pla...")
 
No edit summary
 
Line 1: Line 1:
{{CatUp|Class reference}}
{{CatUp|Class reference}}
{{Preliminary}}
{{Preliminary}}
This object is automatically inserted into a player's Character when they connect to a game. This object sets the colors for the player, for all six parts. You can set then through each property in the BodyColors object.
This object is automatically inserted into a player's Character when they connect to a game. This object sets the colors for the player, for all six parts. You can set then through each property in the BodyColors object.


Line 8: Line 7:


==Properties==
==Properties==
In addition to the global properties, BodyColors also has a color for each body part. Since they all work the same, the color is only documented once. Just place the name of the part in front of the color, e.g.,:
In addition to the global properties, BodyColors also has a color for each body part. Since they all work the same, the color is only documented once. Just place the name of the part in front of the color, e.g.:
*Head[[BodyColor|Color]]
*Head[[BodyColor (Property)|Color]]
*LeftArm[[BodyColor|Color]]
*LeftArm[[BodyColor (Property)|Color]]
*LeftLeg[[BodyColor|Color]]
*LeftLeg[[BodyColor (Property)|Color]]
*RightArm[[BodyColor|Color]]
*RightArm[[BodyColor (Property)|Color]]
*RightLeg[[BodyColor|Color]]
*RightLeg[[BodyColor (Property)|Color]]
*Torso[[BodyColor|Color]]
*Torso[[BodyColor (Property)|Color]]


==Events==
==Events==

Latest revision as of 23:21, 23 September 2021

Preliminary: This item was still under development in this version of Roblox. Use only for experimental work.

This object is automatically inserted into a player's Character when they connect to a game. This object sets the colors for the player, for all six parts. You can set then through each property in the BodyColors object.

Functions

BodyColors only incorporates the global functions.

Properties

In addition to the global properties, BodyColors also has a color for each body part. Since they all work the same, the color is only documented once. Just place the name of the part in front of the color, e.g.:

Events

BodyColors only incorporates the global events.