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
|<onlyinclude>{{Property|
|name = CharacterAppearance
name = CharacterAppearance
|property = [[String|Content]] ''characterAppearance''
|property = [[String|Content]] ''CharacterAppearence''
|description = URI of the asset containing character's appearence, clothing, and gear.
|description = URL of asset containing character's appearence, clothing, and gear
|object = Player
|object = [[RBX.lua.Player (Object)|Player]]
}}</onlyinclude>
|}}</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 )
game.Players.PlayerAdded:connect(onPlayerAdded)
</pre>
</pre>}}


== See Also ==
== See Also ==
[[PlayerAdded (Event)|PlayerAdded]]
[[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)


See Also

PlayerAdded