If OpenBankFast makes it face north, then it needs to face north.
End of story.
If OpenBankFast makes it face north, then it needs to face north.
End of story.
Here is a shortened version of this, since its basically the same thing repeated, here:
SCAR Code:begin
Writeln('Opening Bank : ' + WhichBank);
if OpenBankFast(WhichBank) then
Writeln('Opened Bank: ' + WhichBank)
else
Writeln('Could not open bank: ' + WhichBank);
end;
Now, this is not even needed as a case. This is because the function OpenBankFast makes the compass a certain angle, as well, the WhichBank string is declared and can be used this way in a lot less lines. A case is only useful if you have more than one line of code, or you do something different in each line.
Also, I added a bad failsafe. The failsafe will writeln if it opened the bank and if it didn't as OpenBankFast does return a boolean.
Well, good luck, hope you will post more help here.
P.S. Thanks TheVoiceInYourHead.
Writing an SRL Member Application | [Updated] Pascal Scripting Statements
My GitHub
Progress Report:13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you have serious physchological problems 13:46 <@BenLand100> HE GETS IT! 13:46 <@BenLand100> HE FINALLY GETS IT!!!!1
Hmm well i ran it for a few times and it didnt find the bank. So yea...
If it can't find the bank i need to do something for it to find it.
http://www.fenjer.com/adnan/SRLStats/877.png
The Fabis Uber banner has been updated so it works in the latest SRL versions -->Fastest baning script ever!
Which, at first, or after a few runs?
You may need to increase waits in before you search for the bank etc.
Writing an SRL Member Application | [Updated] Pascal Scripting Statements
My GitHub
Progress Report:13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you have serious physchological problems 13:46 <@BenLand100> HE GETS IT! 13:46 <@BenLand100> HE FINALLY GETS IT!!!!1
At first. Thats why i now changed Compass and now it can properly find the bank.
http://www.fenjer.com/adnan/SRLStats/877.png
The Fabis Uber banner has been updated so it works in the latest SRL versions -->Fastest baning script ever!
There are currently 1 users browsing this thread. (0 members and 1 guests)