Check players facing angle.
#1

How can I check the players facing angle.
Then see if the angle is more facing north or south.
Then put that in a varriable then i can do something like

if(north == 1) {

or if(south == 1) {

Thx
Reply
#2

north = 0°, west = 90°, south = 180°, east = 270°

So if player angle is between 0 and 90 he look somewhere between north and west, etc.. i don't see what you need help with. Also may i ask why you need this?
Reply
#3

Quote:
Originally Posted by 0rb
north = 0°, west = 90°, south = 180°, east = 270°

So if player angle is between 0 and 90 he look somewhere between north and west, etc.. i don't see what you need help with. Also may i ask why you need this?
Dont ask :P
Also i thought about it, the script would be nearly impossible to make it work perfect . . .

thx though
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)