
Originally Posted by
Adolis
After looking through it, I became very confused. Since this is the tutorial island section, I think it's appropriate for me to ask how the arrays work and how I set the values for:
Rand: String; // * Stuck inside Random
Skill:'Mining' String; // * User Action to Perform
Level:'31' array[0..21] of word; // * Levels of all skills. SetIn GetPlayerLevels.
Worked: Integer; // * Time User has worked
Banked: Integer; // * Number of Banks User has done
Booleans: Array of Boolean; // * For reports, etc.
Integers: Array of Integer; // * For reports, etc.
Strings : Array of String; // * For reports, etc.
Extendeds : Array of Extended; // * For reports, etc.
After I set these values, I have my player record set right? Could you provide me with a complete example? I think I could learn it better if I compared what I'm making to an official player record. Thanks.
*Is it allowable for me to request an example?
im pretty sure you can ask for examples of these, i think i know what your trying to ask so here goes
SCAR Code:
Players[0].Name :='qwertyuiop';
Players[0].Pass :='';
Players[0].Nick :='iop';
Players[0].Worked := 0;// You can keep this at zero and add time to it during a progress report
Players[0].Active:=True;
Players[0].Booleans[0] := false;//Lets say this is a mining script this could ask if pick was in inventory
Players[0].Integers[0] := 2;//Can be used to see how many loads to do
Players[0].Skill := 'mining';//This is used for genies to select which skill to use
Anything else just ask, and use [SCAR*] tags [/SCAR*] without the *'s