xy coordinates is too easy to get : /set frame but how can i get Dir sry? i hope u help me![]()
xy coordinates is too easy to get : /set frame but how can i get Dir sry? i hope u help me![]()
Dir is where the npc look....coordinates
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
where can this program?
i know but where can i get it ? what is command of it?
here u can get it : http://www.megaupload.com/?d=WNXQNQNP
Last edited by Samurai2009; 01-05-09 at 03:06 PM.
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/
it's not that much explained as you did but anyway
-> http://forum.ragezone.com/f554/tutor...g-npcs-335906/
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
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
GREAT thanks so much KFredje i understand now and it is working :D
you're welcome ^^