[Q] dir numbers / how to set ?

Results 1 to 5 of 5
  1. #1
    Alpha Member Flohle is offline
    MemberRank
    Oct 2006 Join Date
    GermanyLocation
    1,942Posts

    [Q] dir numbers / how to set ?

    hello, can you explain me how to set the dir number in the genNPC ?

    PHP Code:
    Example:
    (
    gennpc (index 92) (country 2) (kind 3) (shape 3) (quest 0 14) (map 0) (xy 265319 285312 22657) (dir 267319 284312)) 
    how to change (dir 267319 284312)) ? can i see them when i'm ingame ans /set frame and look what stay behind camera: ?
    or something other?
    Thanks if someone can help me :construct

    (I searched for threads but don't find something helpfull)

    MfG Flohle


  2. #2
    Yes, it's really me HuninHune is offline
    MemberRank
    Sep 2006 Join Date
    ::1Location
    1,086Posts

    Re: [Q] dir numbers / how to set ?

    hmm may be the place there looking at(just a guess) like the x and y of the spot there looking to? never added npcs i just use the ones they commented out lol but it does look like its the xy coords of where there looking so just try setting an npc then move a bit in the direction you want it to look and use those 2nd coords as the dir



    BTW if I'm right perfect example of what people should do before posting... THINK... ;) amazing how simple most of the problems are when you just think for a second


    :EDIT: my reasoning for this guess
    (dir 267319 284312) < look
    (xy 265319 285312) < look at this one see the similarity?

  3. #3
    Hm. foxx is offline
    MemberRank
    Sep 2006 Join Date
    Czech RepublicLocation
    5,257Posts

    Re: [Q] dir numbers / how to set ?

    /coordinates

  4. #4
    Yes, it's really me HuninHune is offline
    MemberRank
    Sep 2006 Join Date
    ::1Location
    1,086Posts

    Re: [Q] dir numbers / how to set ?

    :P looks like i was right ^.^ funny how easy it is to make an educated guess? :P

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

    Re: [Q] dir numbers / how to set ?

    hmm easy ^.^ thanks you guys :) hope it works :drinks_no



Advertisement