Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Send COMMAND from a NetworkServer.Spawn object

$
0
0
I have a situation were a player throws a grenade. The grenade is spawned across the network using NetworkServer.Spawn. The grenade has a Network Identity (both Server Only and Local Player Authority are un-checked) and a Network Transform attached to it.

The grenade has a timer script which detonates and applies damage to players around it.

It applies damage by sending a Command to the server, which then sends an RPC to each player deducting health.

My problem is, the Command isn't...

Send COMMAND from a NetworkServer.Spawn object

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>