hey,
i want it to do what there stand if you put in somthing like:
BankScreen, InFight
in the HUntil
HWait:
SCAR Code:Function HWait (MaxTime:Integer; HUntil:Boolean): Boolean;
Var
Time : Integer;
Begin
MarkTime(Time);
Repeat
Wait(100 + Random(50));
Until HUntil or (TimeFromMark(Time) > MaxTime);
End;
edit:
SCAR Code:HWait(5000,BankScreen);
HWait(5000,InFight);
// this would be very handy!!!




Reply With Quote



