ID:164881
 
Is it possible for two people to share a mob?
Do I just do somthing like this?
World
var/mob/share/main
New()
main=new/obj/mob/share(locate(5,5,1))
..()
mob/Login()
usr.client=main
..()
Not as such, no... every mob has one client var and one key var that both reflect who's controlling it. Changing either of those logs the current player out of the mob (and possibly logs somebody else in.)

You can use client.eye to make it so that two players see through the "eyes" of one mob, but they wouldn't both control it... you'd have to get fancy with defining your verbs (such as making them all defined under client), and over ride client.Move(), if you wanted to do that... or make a way where they trade off who's "driving". The second way would be relative simple compared to the first way... but... you might want to brush up more on how BYOND handles the whole client-to-mob interaction before you tackle something like that.