Calling a function on only a single client when many players are connected?
I have a fairly unique problem I've been trying to solve for days. I'm am using the BATTLE-IO package in the asset store for the basis of my game. In short I need to call a function for adding gold to a player which is stored locally. I only want to call this function when they get a kill, which is all managed server side. Basically the projectile being fired determines which character object fired it so that it can use that information to add score to the player.
I think I need to use a TargetRpc function to call this on a client but I'm not sure how to go about storing everyone's network connection and associating it with their player object.
Thanks for your help!
Your answer

Follow this Question
Related Questions
Delete item in inventory 0 Answers
how to enter from one stage to other in road ?? 1 Answer
C# FPSController crouch script 0 Answers
Google play services won't start. 0 Answers
Velocity in Player Movement Problem? 0 Answers