Hello, if my character was standing next to, say a baker, how could I get my character to find the baker then trade him?
Thanks![]()
Hello, if my character was standing next to, say a baker, how could I get my character to find the baker then trade him?
Thanks![]()
"Trade"? Do you mean "open bank"? There's a few functions to open banks, look in Bank.scar in your SCAR folder (\SCAR 3.15\Includes\SRL\SRL\core).
This sentence is false.
Just to trade an NPC thats standing next to my character
You can't trade NPCs, can you? You can only trade other players - or is it some highly secret and special NPC?
This sentence is false.
use FindObjTPA(or any other way) to find the npc. then Mouse(x, y, 0, 0, False) and ChooseOption('rade');
~RM
LOL! have you even seen a NPC in runescape? of course you can trade.
and btw, i dont really know about your question. you could try something like this.
i didnt try that so i dont know if it will work, but remember to add failsafes and such.SCAR Code:procedure FindAndTalk;
begin
if FindObjTPA(x, y, Color, 11, -1, 7, 7, 7, ['Baker']) then //put the name where it says baker.after color comes tolerance, the 11.
begin
Mouse(x, y, 5, 5, False);
SelectOption('rade');
Wait(1000 + (random(1000)));
end;
oh and btw, i got that from rasta magicians tut, its really fastthanks rasta.
EDIT: haha, rasta posted above me ^^
^LOL^
Oh, yeah, I kind of forgot about all shop-NPCs. Bummer.![]()
This sentence is false.
There are currently 1 users browsing this thread. (0 members and 1 guests)