Results 1 to 5 of 5

Thread: reflection

  1. #1
    Join Date
    Jul 2008
    Location
    Poland
    Posts
    375
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default reflection

    i have one question.
    How to click on npc using reflection??

  2. #2
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    You need to get the main screen coordinates of the NPC, using something like FindNPC or any of the numerous functions in Characters.scar, then you can use Mouse to click on those coordinates.
    :-)

  3. #3
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    Before clicking on the npc (using methods method. Wow.. Ironic..), you would have to convert the Minimap tile to MainScreen tile.

  4. #4
    Join Date
    Mar 2007
    Posts
    3,042
    Mentioned
    1 Post(s)
    Quoted
    14 Post(s)

    Default

    Quote Originally Posted by Zytex! View Post
    Before clicking on the npc (using methods method. Wow.. Ironic..), you would have to convert the Minimap tile to MainScreen tile.
    Actually if the NPC is on the main screen, the coordinates are already stored when the rest of the NPC's information is stored. Otherwise, though, you're certainly correct.

    Hooray for irony!
    :-)

  5. #5
    Join Date
    Jul 2008
    Location
    Poland
    Posts
    375
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah, NPC is on mainscreen but plz code

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Reflection Help please?
    By Blumblebee in forum OSR Help
    Replies: 5
    Last Post: 01-10-2009, 10:28 PM
  2. reflection and non reflection scripts?
    By randy marsh in forum SRL Site Discussion
    Replies: 8
    Last Post: 01-08-2009, 04:05 PM
  3. reflection
    By m4sterdr4g0n in forum SRL Site Discussion
    Replies: 6
    Last Post: 12-06-2008, 06:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •