SRL Archive - Research & Development Lounge

script add on [make your credits scroll]


Waddo

2008-05-07 13:15:43

here it is

save it as an include

and call it via scrolly(numberoflines);

batnas

2008-05-09 16:24:35

Nice its possible to make scrolls

\\Batnas

EvilChicken!

2008-05-09 17:39:04

Nice attempt, try to run this:

procedure ScrollDebug(Text: TStringArray; WaitBetweenLines, MaxLines: Integer);
var
Textz: Integer;
begin
ClearDebug;
for Textz := 0 to High(Text) do
begin
if Textz >= MaxLines then DeleteDebugLine(0);
WriteLn(Text[Textz]);
Wait(WaitBetweenLines);
end;
end;

begin
ScrollDebug(['line 1', 'line 2', 'line 3', 'line 4', 'line 5', 'line 6',
'line 7', 'line 8', 'line 9', 'line 10', 'line 11', 'line 12', 'line 13',
'line 14', 'line 15', 'line 16', 'line 17'], RandomRange(200, 500), 5);
end.


I made it just for you :rolleyes:

Waddo

2008-05-10 07:33:05

nice only prob with that is i cant understand how it works could you show me
ty

Edit: Nvm i undestand it now needed to brush up my array knowledge =]