ID:268848
 
I want to know how to make it where you can watch other player play and then go back to watching your character.
Contract Jack wrote:
I want to know how to make it where you can watch other player play and then go back to watching your character.

client.eye and client.perspective are the values you're looking for, here. The client'e eye var determines what mob (or location) the client will be viewing, which you can change to another mob. You'll need to set the client's perspective var too, which gives the client info on where to base its line-of-sight calculations on:

mob/verb/WatchPlayer(client/C in world)
client.eye = C.mob
client.perspective = EYE_PERSPECTIVE

mob/verb/ReturnEye()
client.eye = src
client.perspective = MOB_PERSPECTIVE
In response to Malver
ok i wanted to know that on my dbz game for tournaments , like budokia , so you canb see the two players fighting without getting in the way.
In response to Malver
i don't realy understand what you just said , i want it to veiw a player in a tournament on my DBZ game.