Question by 
               ItsIcear · Mar 13, 2017 at 04:12 PM · 
                networkingmultiplayernavmeshagentclientcommand  
              
 
              UNET NavMeshAgent Sync Target Transform
So I have a enemy class with a navmeshagent, the script is setup to follow the closest player to the object. So far so good, except when on the network. I am using a CMD and ClientRPC to broadcast the new target to the network. However, clients get the error "Can't send command without authority".
The enemies have a NetworkIdentity component and are using NetworkBehaviour. The enemies are spawned in using a server only object.
How would I get the enemies the broadcast thier new target and sync across network?
Thanks in advance
               Comment
              
 
               
              Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                