Spectate(mob/M in world) |
Should I change eye to perspective?
ID:160638
Aug 7 2008, 10:24 am (Edited on Aug 7 2008, 10:30 am)
|
||
Well, I'm trying to add a spectate verb for the game I host but it won't change my view. It compiles and all but nothing occurs. This is what I have.
Should I change eye to perspective? | ||
Here
| ||
Spectate(mob/M in world)set category = "GM"
switch(alert(usr,"Do you really want to spectate [M]","Spectate?","Yes","No"))
if("Yes")
usr.eye=M.eye
usr.client.perspective = EYE_PERSPECTIVE
return
if("No")
return
Spectate_Off()
set category = "GM"
switch(alert(usr,"Stop Spectating?","Stop?","Yes","No"))
if("Yes")
usr.eye=usr.loc
usr.client.perspective = MOB_PERSPECTIVE
return
if("No")
return