x


unity c# RPC

Hello, I'm trying to create a rpc within unity c# here is what I'm trying to send networkView.RPC("Die", RPCMode.All,10,viewID) this is for a health system of sorts but I'm lost on this. I'm still a bit "effy" with c# so how would I do something like that? It gets the networkid of the player whose health is 0 they send an RPC to destroy the object within the network. Please help. Thanks!

more ▼

asked Jan 22 '12 at 12:30 AM

twoface262 gravatar image

twoface262
129 41 53 56

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

0 answers: sort voted first
Be the first one to answer this question
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:

x5274
x4374
x3892
x727
x249

asked: Jan 22 '12 at 12:30 AM

Seen: 1156 times

Last Updated: Jan 22 '12 at 12:30 AM