Instantiating NPC only near players

Options
paulpach
edited January 2012 in Photon Server
I am working on a large seamless world based on the MmoDemo.

I would like to know what would be the best way to instantiate NPC and other items only for regions that can be seen by at least one player.

I was thinking of extending Region, and instantiate items when players subscribe to it, and dispose the items when all players unsubscribe.

I imagine this problem has been solved by other people already, so pointers would be appreciated.