Pakyakkistan
2014-03-03 16:38:02
How does one go about world hopping in a sophisticated manner? IE, I log out, and wish to log into world 1, and then log out again and then log into world 2, and continue until I reach world 15, and then repeat from world 1. For loop with the WorldInfo? Tried using a function like this -
Function WorldNumber:Integer;
var i : Integer;
begin
If W = Lw then
begin
W := (first world of the list);
lw := (last world of the list);
Hops := (times we hopped)(set this to zero);
result := W;
end else;
i := W + Hops;
Result := i
end;
but it just gives me a parameter error or it will work and then just tell me that I have an invalid world in the debug and stay on the current world it is on. Do I need to use the procedure Proc_WorldSwitcherEnabled?