Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   npc position (https://postpacific.loc-online.com/showthread.php?t=2539)

Dave 14.11.2005 20:29

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

Dave 14.11.2005 22:01

hmm
 
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

RmzVoid 16.11.2005 02:36

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


All times are GMT. The time now is 16:42.