dragx55
2011-02-03 14:45:24
I am working on my first script that will be buying and banking kebabs from Karim in Al-Kharid. I have my script "laid out" right here(like a blueprint):
My problem is that, how would I get the Simba to detect whether the character is at the bank or not? I'm sure I could use a FindColorTolerance color detection, but I don't think it's an effective way to detect a character's location. Umm, like how would isAtBank look like in an actual working script.
begin
SetupSRL;
repeat
if not(invFull)then
if not(isAtKarim)then
WalkToKarim;
else
BuyKebabs;
else
if not(isAtBank)then
WalkToBank;
else
BankKebabs;
until(false);
end. My problem is that, how would I get the Simba to detect whether the character is at the bank or not? I'm sure I could use a FindColorTolerance color detection, but I don't think it's an effective way to detect a character's location. Umm, like how would isAtBank look like in an actual working script.