Results 1 to 7 of 7

Thread: Which function?

  1. #1
    Join Date
    Feb 2007
    Location
    SparklesProd.com
    Posts
    2,406
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default Which function?

    Well, im currently making a script in which the player talks to a npc (has to right click and choose 'talk to') and then select from a series of options that he says (then click the 'click here to continue' text).

    Which function should I be using for this?

    A little help would be greatly appreciated. And sorry for my nubbyness.

    ~Sp0rk-eh

  2. #2
    Join Date
    Jul 2006
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    for the boxes after you right click i recoment popup();
    the for the rest of it just use a findtext there are many in srl
    "your always where you supposed to be"

  3. #3
    Join Date
    Feb 2007
    Location
    SparklesProd.com
    Posts
    2,406
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Is the find text, the text of the speech of the npc? or the text in the top left hand corner when you mouse over the npc?

  4. #4
    Join Date
    Dec 2006
    Location
    UK
    Posts
    118
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Sp0rk-eh View Post
    Is the find text, the text of the speech of the npc? or the text in the top left hand corner when you mouse over the npc?
    I would use this function
    ClickNpcChatText("Click here")

    This should click on the "Click here to continue" text in the NPC chat box

  5. #5
    Join Date
    Feb 2007
    Location
    SparklesProd.com
    Posts
    2,406
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    ty nerd.

  6. #6
    Join Date
    Dec 2006
    Location
    Ky
    Posts
    390
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ChooseOption(x,y, 'Take'); Will also work for the box that pops up.
    SUMMER BREAK be back when I want to

  7. #7
    Join Date
    Feb 2007
    Location
    SparklesProd.com
    Posts
    2,406
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    TY very much, script pretty much complete, just 1 strange thing happening in it now :-\

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 02-27-2008, 05:20 PM
  2. Replies: 2
    Last Post: 02-26-2008, 08:26 PM
  3. Any function that does this?
    By shadowpwner in forum OSR Help
    Replies: 2
    Last Post: 08-14-2007, 03:15 AM
  4. [FUNCTION] FindDoorColour: integer; By ZephyrsFury [FUNCTION]
    By ZephyrsFury in forum Research & Development Lounge
    Replies: 10
    Last Post: 07-27-2007, 08:45 AM

Posting Permissions

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