View Full Version : npc position
I know i've read this somewhere but I cannot find it now. how can you tell which way your npc is facing based on pos=?
Flamestrike
14.11.2005, 20:34
After pos = {0;0;-0;0}
The last "0" is the facing. Change it to your desire :D
knew that part, but how do i know which is south, north, east or west?
Metalmurphy
14.11.2005, 23:07
Search, its been posted more then 2 times
0,65536 - east
16384 - south
32768 - west
49152 - north
all other directions in range.
so we have own angles from 0 to 65536 = 360 degrees