how can i get dir for Npc's?

Results 1 to 11 of 11
  1. #1

    how can i get dir for Npc's?



    xy coordinates is too easy to get : /set frame but how can i get Dir sry? i hope u help me


  2. #2
    Enthusiast fatih15 is offline
    MemberRank
    Jul 2008 Join Date
    GermanyLocation
    43Posts

    Re: how can i get dir for Npc's?

    Dir is where the npc look....coordinates

  3. #3
    Alpha Member Flohle is offline
    MemberRank
    Oct 2006 Join Date
    GermanyLocation
    1,942Posts

    Re: how can i get dir for Npc's?

    there is also a Tutorial from bushido v_v or it should be

    and also if you can read stay above DIr also x y and z. But z is not needed, just x and y

  4. #4
    Member :) :D ^^ xD is offline
    MemberRank
    Jun 2008 Join Date
    81Posts

    Re: how can i get dir for Npc's?

    where can this program?

  5. #5

    Re: how can i get dir for Npc's?

    Quote Originally Posted by fatih15 View Post
    Dir is where the npc look....coordinates
    i know but where can i get it ? what is command of it?


    Quote Originally Posted by :) :D ^^ xD View Post
    where can this program?
    here u can get it : http://www.megaupload.com/?d=WNXQNQNP
    Last edited by Samurai2009; 01-05-09 at 03:06 PM.

  6. #6
    Proficient Member KFredje is offline
    MemberRank
    Mar 2009 Join Date
    BelgiumLocation
    165Posts

    Re: how can i get dir for Npc's?

    How to get dir of an NPC

    1) You know the coordinates of your NPC where it stand, good, here you got (x y z) understand?

    2) Now run in the direction where you NPC should look at, understand? type /set frame or /coordinates to get the coordinates of this point with other words, run to a point (haven't to be far) where your NPC should look at. Take the (x y) (z not needed) and put them in your NPC line.

    For example (one of my self made NPC's:

    (gennpc (index 2001) (country 2) (kind 3) (shape 9) (html 2001) (map 0) (xy 267186 243755 19620) (dir 267332 243686))

    So my (xy 267186 243755 19620) is the location of my NPC
    (dir 267332 243686)) is a point where the NPC look at so you just need an (x y)

    Hope you understand this, else I'll make video of it ^^ (or some SS)

    btw, direction isn't explained properly here but look once at it how to add an NPC: http://forum.ragezone.com/f554/tutor...n-npcs-174818/

  7. #7
    Alpha Member Flohle is offline
    MemberRank
    Oct 2006 Join Date
    GermanyLocation
    1,942Posts

    Re: how can i get dir for Npc's?

    it's not that much explained as you did but anyway

    -> http://forum.ragezone.com/f554/tutor...g-npcs-335906/

  8. #8

    Re: how can i get dir for Npc's?



    look i didn't what u tried to explain but i typed x y in Direction NPC but his face is not in right place


    pls understand this : when i get coordinates from /set frame i can get x y z and u told me to use only x y for dir ok ... but x y is only for 1 point not for direction of NPC ... and look image when i used x y for my place and restarted server i logged into game and NPC dir to north only

  9. #9
    Proficient Member KFredje is offline
    MemberRank
    Mar 2009 Join Date
    BelgiumLocation
    165Posts

    Re: how can i get dir for Npc's?

    you have to put an npc's (x y z) then run a bit in front to get his dir (x y) you can do this in 1 time if your sure where your npc has too look at. But in your case I simulated at my server. You see the fairy looking into my direction. So run about that far away from your npc in the direction he should look at. And it should work then.

    Image in attachment

    KFredje
    Attached Thumbnails Attached Thumbnails shot_2009_5_1_000.jpg  

  10. #10

    Re: how can i get dir for Npc's?

    GREAT thanks so much KFredje i understand now and it is working :D

  11. #11
    Proficient Member KFredje is offline
    MemberRank
    Mar 2009 Join Date
    BelgiumLocation
    165Posts

    Re: how can i get dir for Npc's?

    you're welcome ^^



Advertisement