Results 1 to 6 of 6

Thread: MouseChoose and MouseChooseEx

  1. #1
    Join Date
    Feb 2012
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default MouseChoose and MouseChooseEx

    Simba Code:
    function MouseChoose(var x,y,rx1,ry1:Integer; Z:String):Boolean;
    begin
      Mouse(x,y,rx1,ry1,False);
      Result := ChooseOption(Z);
    end;

    Simba Code:
    function MouseChooseEx(var x,y,rx1,ry1,WaitTime:Integer; Z:String):Boolean;
    begin
      Mouse(x,y,rx1,ry1,False);
      Result := WaitOption(Z, WaitTime);
    end;
    It's so much more easier than typing it out >.>

  2. #2
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Support - though typing it out isn't that hard

  3. #3
    Join Date
    Feb 2012
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I know, i'm lazy though >=o

  4. #4
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Moved to snippets. This is something that should be left up to the scripter.

  5. #5
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    How about using 'WaitOptionMultiEx' instead also making your 'Z' parameter a TStringArray?

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  6. #6
    Join Date
    Nov 2011
    Posts
    1,589
    Mentioned
    9 Post(s)
    Quoted
    17 Post(s)

    Default

    I like the idea



    ^^

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
  •