Jump to content

Recommended Posts

Hello everyone, I need some help with world and network variables.
 
I have some data that I need to store via net variables and access on the client side. However, since the "world" itself isn't networked, I believe the correct approach is to bind the net variables to TheWorld.net—just like the base game does, for example with forest_network.
 
The problem is that the network instance is unique per world, and it doesn't get a unified name via SetPrefabName like the world does. Because of this, I'm not sure how to ensure these data can be stored properly across all worlds, including those generated by other mods.
 
What should I do?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...