If you put in 'Until x = Definition' then it will go through the loop until x =...well, definition. The writeln tells the person how long the loop will run, and how many per character, just so they feel safe and my function looks bigger.
Yours doesn't compile for me Santa. "Type mismatch"
And the thing that I want to change is in writeln anyway.
(Oh yes, and you have to put this in declareplayers.)
SCAR Code:
procedure DeclarePlayers;
begin
HowManyPlayers := 5;
NumberOfPlayers(HowManyPlayers);
CurrentPlayer := 0;
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Active := True;
Players[0].Loc := 'Bank'
Players[0].Integers[0] := 5 //Loads for this character to do
Players[1].Name := '';
Players[1].Pass := '';
Players[1].Nick := '';
Players[1].Active := False;
Players[1].Loc := 'Bank'
Players[1].Integers[0] := 5 //Loads for this character to do
Players[2].Name := '';
Players[2].Pass := '';
Players[2].Nick := '';
Players[2].Active := False;
Players[2].Loc := 'Bank'
Players[2].Integers[0] := 5 //Loads for this character to do
Players[3].Name := '';
Players[3].Pass := '';
Players[3].Nick := '';
Players[3].Active := False;
Players[3].Loc := 'Bank'
Players[3].Integers[0] := 5 //Loads for this character to do
Players[4].Name := '';
Players[4].Pass := '';
Players[4].Nick := '';
Players[4].Active := False;
Players[4].Loc := 'Bank'
Players[4].Integers[0] := 5 //Loads for this character to do
DefineLoopDuration;
NickNameBMP := CreateBitmapMaskFromText(Players[CurrentPlayer].Nick, UpChars);
Right now the debug box gives me
5
5
5
5
5
This loop shall run for 25 loads over 5 players
0
Error detecting Compass Angle.
Successfully executed
Which I want to say
SCAR Code:
(Name) 5
(Name) 5
(Name) 5
(Name) 5
(Name) 5
This loop shall run for 25 loads over 5 players
0
Error detecting Compass Angle.
Successfully executed
Also, I know this is very basic, but it will help in anything using multiplayer and integers[0] because it sets the loops length for the people after they say how many loads on each individual character.