CharacterAppearance (Property): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>GoldenUrg initial from memory |
>Camoy No edit summary |
||
Line 1: | Line 1: | ||
{{CatUp|Properties}} | {{CatUp|Properties}} | ||
<onlyinclude>{{Property | |||
|name = CharacterAppearance | |||
name = CharacterAppearance | |property = [[String|Content]] ''characterAppearance'' | ||
|property = [[String|Content]] '' | |description = URI of the asset containing character's appearence, clothing, and gear. | ||
|description = | |object = Player | ||
|object = | }}</onlyinclude> | ||
{{clear floats}} | |||
== Description == | == Description == | ||
This property is automatically set by Roblox when player joins. | This property is automatically set by Roblox when player joins. | ||
{{Example|<pre> | |||
function onPlayerAdded(player) | |||
Example | |||
<pre> | |||
function onPlayerAdded( player ) | |||
player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=261" | player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=261" | ||
end | end | ||
game.Players.PlayerAdded:connect(onPlayerAdded) | |||
</pre> | </pre>}} | ||
== See Also == | == See Also == | ||
[[ | [[PlayerAdded]] | ||
[[Category:Properties]] | [[Category:Properties]] |
Revision as of 13:26, 27 December 2010
CharacterAppearance | |
Property | Content characterAppearance |
Description | URI of the asset containing character's appearence, clothing, and gear. |
Member of | Player |
Description
This property is automatically set by Roblox when player joins.
Example
function onPlayerAdded(player) player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=261" end game.Players.PlayerAdded:connect(onPlayerAdded)