Posts: 18
Threads: 9
Joined: Oct 2008
Reputation:
0
I need help.
I want to make a command that follow after a player.
Like /follow 1 - That will follow after the player that ID = 1.
I know that I need timer and get his position but how can I see his back? (Like the user see)
Posts: 970
Threads: 16
Joined: Aug 2009
Reputation:
0
Hm, I doubt you can 'literally' follow a player ... what you can do, is update the player position. Set a timer, that gets the player position and set the follower position. Can`t think of something else.
Posts: 18
Threads: 9
Joined: Oct 2008
Reputation:
0
I did it and it works.
But how can I put the camera relative to FacingAngle? What is the formula?
Posts: 613
Threads: 11
Joined: Aug 2010
Reputation:
0
You could actually set players animation to walking, and change facing angle so the player will turn. If the other player is getting to far - set him running animation.
Posts: 57
Threads: 12
Joined: Jan 2011
Reputation:
0
U wanna to recon player, search command /recon on SAMP forum