SCAR Code:
function InitLocation(Where: string): TLocation;
var
s: string;
begin
s := lowercase(Where);
case s of
'eastvarrock':
with result do
begin
MultiCombat := false;
Banking := true;
Bank := 'veb';
BankToLoc := @WalkTo; //LINE 107
LocToBank := @WalkTo;
end;
end;
end;
You would then have to do BankToLoc('vebtoguards') later in the script when you call it though, so you can't have it as you want. Your work around is probably a better solution to have it as an easy to call function as otherwise you have to supply the argument still
By reading this signature you agree that mixster is superior to you in each and every way except the bad ways but including the really bad ways.