My laptop is currently away for repairs at the moment so this is primarily conceptualised.
My current project: OuterOcean is a game set in space with multiple Planets // locations that are visit-able.
My issue is, the locations are heavily Client-Based. Meaning the location // area only loads if needed by the specific Player…
I’m working on ways to implement a hostile system into these locally generated areas that can be effective.
Currently a method I’ve trialed is:
Server-sided system that detects when a Player is close to a spawner; if so, then an NPC will spawn and the :SetNetworkOwner is set to the nearest Player.
Explanation
This is incase a Player leaves the game or area. This method also prevents the NPC from falling through the client generated area.
The issue with this is, Players outside the areas will undoubtedly be able to see a hovering NPC.
Does anyone have suggestions or methods they use for similar games?
Thank you!