[Help]NPC Direction

06/23/2010 00:45 Jay10291#1
In my 5165 source all the NPCs I added seem to be facing the same way. This has always happened since I started with P servers. Anyone know how to change their direction? I know
Quote:
UID,Type,Flags,Direction,Map,X,Y,
Changing the number for direction doesn't do anything.

Edit: Does everyone have this same issue? Oo
06/23/2010 05:27 Arcо#2
Change the last number of the type.
06/28/2010 22:02 Jay10291#3
rly?? So that's why theres like 5 different npc types for each npc...dayum i always thought that was retarded lol. Respect arco
07/01/2010 20:56 gerble93#4
Here is which direction is which, brought to you by Kinshi.


Quote:
Originally Posted by kinshi88 View Post
Alot of people have been wondering, and requesting the Directions that NPCs face. Here is the Directions in a nut-shell:

Code:
    |         Follow where the Arrow Points, that is the direction
  \ 5 /       that Number will point the NPC in.
   6 4       
--7   3--     Questions? Comments? Feedback?
   8 2       
  / 1 \       
    |
07/02/2010 01:11 Korvacs#5
Please search ive answered this exact question time and time again on this forum, you simply change the last number of the npc type value from 0 -> whichever direction you need.

Also Kinshi got it wrong:

Code:
    public enum DirectionEnum
    {
        SouthWest = 0,
        West = 1,
        NorthWest = 2,
        North = 3,
        NorthEast = 4,
        East = 5,
        SouthEast = 6,
        South = 7
    }
Are the correct directions and values.
07/02/2010 06:02 kinshi88#6
Quote:
Originally Posted by Korvacs View Post
Please search ive answered this exact question time and time again on this forum, you simply change the last number of the npc type value from 0 -> whichever direction you need.

Also Kinshi got it wrong:
Yeah, that post is from 2 years ago lol