Results 1 to 4 of 4

Thread: Talking to NPC's

  1. #1
    Join Date
    Feb 2012
    Location
    DON'T PM ME ASKING FOR STUFF
    Posts
    2,170
    Mentioned
    38 Post(s)
    Quoted
    423 Post(s)

    Default Talking to NPC's

    Hey guys,

    I've never really explored this area of simba.. I want my script to find a monk when his health is > 50 and then talk and ask to heal.

    Now I came to the conclusion for finding the heal text I can use a dtm.

    However.

    I'm stumped with finding the text after right mouse clicking, I was thinking of using DTM's with that as well... but that's no good considering the box is a little see through.

    Simba Code:
    if FindObj(X, Y, 'monk', 2109238, 6) then
        Mouse(x, y, 2, 2, False);

    I looked at Uptext within the simba client itself. Didn't know which one to pick haha :P

  2. #2
    Join Date
    Jan 2012
    Location
    Calgary, AB, Canada
    Posts
    1,819
    Mentioned
    5 Post(s)
    Quoted
    120 Post(s)

    Default

    So after right clicking on the monk you need to choose an option? That's what I think your asking so in that case use ChooseOption('eal'); put whatever the text with out the first letter of the word in the function.

    So something like:

    Simba Code:
    if FindObj(X, Y, 'monk', 2109238, 6) then
        Mouse(x, y, 2, 2, False);
        ChooseOption('eal');
    Current Project: Retired

  3. #3
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    ChooseOption();

    FindNPCChatText();

  4. #4
    Join Date
    Feb 2012
    Location
    DON'T PM ME ASKING FOR STUFF
    Posts
    2,170
    Mentioned
    38 Post(s)
    Quoted
    423 Post(s)

Thread Information

Users Browsing this Thread

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

Posting Permissions

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