ID:172193
Jun 17 2004, 5:59 am
|
|
How do I change the players view, so that he looks through the eyes of...lets say some random goblin.
|
Look up client/eye, just set it to the object you want to see from. You will also have to change client/perspective if the object is out of view from client/mob.
|
In response to Godz
|
|
it really does make sense though and i didnt read lodu. post yet, but client.eye might be what your looking for
|
In response to N1ghtW1ng
|
|
yes i get that. can you write a little snippet of code next time you post here so I can see where to put it and stuff
|
In response to Konamix
|
|
In response to Garthor
|
|
yes...but how do I change it back to normal?
client eye = usr.loc ??? |
In response to Konamix
|
|
if Hero is the clients mob
Hero.client.eye = Goblin.loc Hero.client.perspective = EYE_PERSPECTIVE back to hero Hero.client.eye = Hero.loc Hero.client.perspective = MOB_PERSPECTIVE |
In response to Abra
|
|
Lose the .loc and you have it. Setting client.eye to the loc of the hero or goblin in that example will move the eye to where that mob is then leave it there when the mob walks away. Set it to the mob itself, as in client.eye=hero and client.eye=goblin.
|
-Godz