- Home /
Question by
twoface262 · Jan 22, 2012 at 02:23 AM ·
javascriptnetworkingrpctimers
A couple of questions about Networking.
Hello, I have a couple of questions first off is how would I send an RPC to a completely different object? Like I want to send an RPC from my health script attached to my player, to my spawning script attached to a empty object(The spawner).
Second question how would I delete a object over a network in a certain amount of time? I'm trying to delete particles with Network.Destroy(dust,5); but I doesn't let me. I've also trying to create a separate timer something like -
if(time > 0)
{
Network.Destroy(dust);
}
but no avail. Thanks for everyone's help!
Comment
Your answer
Follow this Question
Related Questions
Sending an RPC 1 Answer
Network Chat not sending messages to other clients 1 Answer
RPC failed to send 1 Answer