Skin changing
#1
So In a game I'm building would like you to have the skin of the main character when you play, however I have no idea as to what I must change the "Skin" string to. I tried this

[lua]function D(PP)
PP.Character.Skin = "http://buildism.net/items/Blotto/2189"
end

link(game.Players.ChildAdded, D)[/lua]

and it changed the value fine, but I was still wearing my default skin, even after killing my character.
Reply
#2
I Think that Character should be NPC.

[lua]function D(PP)
PP.NPC.Skin = "http://buildism.net/items/Blotto/2189"
end

link(game.Players.ChildAdded, D)[/lua]
Reply
#3
(07-01-2011, 12:08 AM)Brassrhino Wrote: I Think that Character should be NPC.

[lua]function D(PP)
PP.NPC.Skin = "http://buildism.net/items/Blotto/2189"
end

link(game.Players.ChildAdded, D)[/lua]

Definitely not.

The value actually changed in my character but my skin stayed as captain mcawesome
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)