Results 1 to 7 of 7

Thread: SelectWorld();

  1. #1
    Join Date
    Mar 2010
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default SelectWorld();

    I'm trying to use SelectWorld to WorldHop, but It doesnt properly select the world. (It just moves the mouse around before saying it executed correctly). Will I just have to program my own or am I just doing something wrong? I'm calling it as such

    Code:
        ExitToLobby;
        OpenWorldScreen;
        SelectWorld(WorldsToHopTo[world]);
        Inc(World);
        LogInPlayer;
    Thanks for any help

  2. #2
    Join Date
    Mar 2007
    Posts
    478
    Mentioned
    4 Post(s)
    Quoted
    4 Post(s)

    Default

    Code:
    function FindWorld(W: integer): Boolean;
    by: Narcle
    Description: Scrolls to area and returns true if world was found
    Code:
    {*******************************************************************************
    Procedure OrderWorlds(by: string; Descending: boolean);
    by: NaumanAkhlaQ
    Description: Orders worlds by 'by' in order 'Descending'
                 Check function for valid params of 'by'
                 Descending = true means the left button
    *******************************************************************************}
    Could try those functions to see if that helps. For the second one,
    Code:
    OrderWorlds('World',True);
    Back from the dead.....

  3. #3
    Join Date
    Mar 2010
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ^thanks . How did you find those? I can't find them in the SRL manual thing :\

  4. #4
    Join Date
    Dec 2006
    Location
    Houston, TX USA
    Posts
    4,791
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  5. #5
    Join Date
    Mar 2010
    Posts
    61
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Suhweet thanks

  6. #6
    Join Date
    Mar 2007
    Posts
    478
    Mentioned
    4 Post(s)
    Quoted
    4 Post(s)

    Default

    Just used the Srl include files.
    Back from the dead.....

  7. #7
    Join Date
    Jan 2010
    Posts
    5,227
    Mentioned
    6 Post(s)
    Quoted
    60 Post(s)

    Default

    ^ Yeah. I learned a lot by just reading through the include. ^^ It's really a good tool to learn (As long as you understand general syntax and operands and what not.

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
  •