Posts: 71
Threads: 27
Joined: Apr 2010
Reputation:
0
Hey, im using SetPlayerVelocity on a key, so player runs faster.. my problem is how to make it that a when someone press this key he will run fast forward and not to the right(with x,y,z) but only the side where hes looking at.. Tried to use OnPlayerFacingAngle but failed..
Posts: 967
Threads: 99
Joined: Oct 2010
Reputation:
0
I think it's on the X. X+10, something like this. Z is upon. Y right/left
Posts: 71
Threads: 27
Joined: Apr 2010
Reputation:
0
I know, but when i do x+10 and hes looking to the right then he gets warped on the x-line, i want him to warp on the line where hes looking at.. or from where he get shot..(would be even better)
Posts: 198
Threads: 3
Joined: Nov 2008
Reputation:
0
the X, Y and Z are mapewise not character wise, if the X+10 lets the character go to the right, make a 180 degrees turn, u will see the character goes left if u do X+10, u need GetXYInfrontOfPlayer, look for it on the forums.