Coloring problem

Options
Hi,

In my game each player has a color tint that I've defined before in a game manager and after each spawn, each player should look up their color and paint themselves with that color and appear on other clients with their correct color.

Problem is, I don't know how to do it!

More info:
Currently in Initialization state I look up the color and pain according to it but it cases every player on a machine to be as the same color as the main player of that machine.

My best shot is RPCs but something tells me since it's done in initialization state of my players, it should get synced on other machines.

Comments

  • vadim
    Options
    Hi,
    Store color in custom player property and paint player object using this value according to owner's property.