ID:141208
 
Code:
mob
verb
Skill_Tree()
set hidden=1
if(!usr.SkillTree)
usr.client.eye = locate (41,40,3)
usr.SkillTree=1
return
else
usr.SkillTree=0
usr.client.eye=usr
return


Problem description: I'm trying to make this verb that teleports the screen to the location "41,40,3" but for some reason it just teleports it to a black, dark area. I made a stat to check where my eye is when I use the verb and I think that it's inside a turf. The stat says "Eye: Skill Tree Background". I don't know how I'm getting this problem, here is the turf:

    Skill_Tree_Background
icon='Skill Tree.png'
density=1




You need to change the client perspective so it allows custom eye locations.

client/perspective = MOB_PERSPECTIVE | EYE_PERSPECTIVE //the default is only MOB_PERSPECTIVE
In response to Mega fart cannon
Thanks a lot man. Never knew that :). Your a life saver.