frandallfarmer / neohabitat

Repository for the NeoClassical Habitat Server Project
http://neohabitat.org
MIT License
229 stars 41 forks source link

WISH: Follow other avatars #441

Open StuBlad opened 7 months ago

StuBlad commented 7 months ago

In WorldsAway, you could click on another avatar and follow them. This would mean that when the leader exited a region, your avatar would follow them. If the leader entered a region that was full of avatars, or only had enough avatar capacity for the leader, your avatar would automatically be ghosted but the follow connection would be maintained.

Could we implement a form of this for NeoHabitat?

I envision it in the form of a text command such as /follow Stu

This would set some sort of remote server side value to my avatar (leader) which could be the avatar i'm followings ref. When an avatar changes regions, a check could be made to see if that avatar has any followers who were in the same region and then send out a message to make those avatars exit in the same direction the leader did and enter into the same region as the leader (handling automatically ghosting based on region capacity).

WorldsAway would also let you enable or disable followers in case you wanted privacy. That could be implemented as a text command too.

Leaders and followers shouldn't persist after the leader or follower logs out.