SRL Archive - OSR Help

SelectWorld();


chaoyd

2010-05-20 09:04:49

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


ExitToLobby;
OpenWorldScreen;
SelectWorld(WorldsToHopTo[world]);
Inc(World);
LogInPlayer;

Thanks for any help :)

aran armath

2010-05-20 10:30:22

function FindWorld(W: integer): Boolean;
by: Narcle
Description: Scrolls to area and returns true if world was found

{*******************************************************************************
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,
OrderWorlds('World',True);

chaoyd

2010-05-20 13:12:58

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

Wanted

2010-05-20 13:54:24

http://villavu.com/forum/showthread.php?t=55513

chaoyd

2010-05-20 14:30:20

Suhweet thanks :)

aran armath

2010-05-20 14:56:39

Just used the Srl include files.

i luffs yeww

2010-05-20 19:23:58

^ 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.