#Synchronizing data only with specific client

1 messages · Page 1 of 1 (latest)

sick pine
#

Hi,

So i want to make an ARPG without shared loot, ie each client shall have their own loot drops, using netcode for entities.
Now i still want to synchronize this with the server to prevent cheating.
If i just add the ghost component to my items, they are obviously replicated to All clients. Can i replicate only to specific clients? And if so how?

smoky lake
#

If it's not shared loot then it doesn't need to be a ghost, you can use a RPC to Instantiate the loot on each client. You could also use some kind of loot drop manager Singleton with a ghost component that signals what loot drops where

smoky lake