x


TextMesh sync player names with other players

Hi,

I'm trying to set the player name above to the player on a text mesh. It's working localy but i want to also see the remote players names above their players. How would i best do this ? RPC call ? Any examples ? Thanks Eddy.

more ▼

asked Jun 22 '10 at 09:37 AM

appels gravatar image

appels
256 18 19 27

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

put the NetworkRigidBody script from leepo's tutorial on that textmesh, and a networkView, and in the observed u need to choose the textmesh's networkRigidBody script. That's it :] check Leepo's networking tutorial and see in his box's Inspector the observed and how he put them.. everything is there to solve ur problem!

more ▼

answered Jun 22 '10 at 10:17 AM

AnaRhisT gravatar image

AnaRhisT
865 30 33 43

Hi, are you talking about script Tutorial_2A3 ? I don't see how Vector3's could update my meshname.

Jun 22 '10 at 11:41 AM appels

it'll update the gameobject's transform.position and no, im talking about the latest example. i think example4

Jun 22 '10 at 12:14 PM AnaRhisT

I found the script and tried draggin it onto my mesh but it won't take it. I'll try go through the script to understand what it's doing tho i'm not a programmer.

Jun 22 '10 at 01:02 PM appels
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x831
x249
x148
x105
x58

asked: Jun 22 '10 at 09:37 AM

Seen: 1617 times

Last Updated: Jun 22 '10 at 09:37 AM