I don't quite understand what distance means...can someone please explain this. Preferably in english and none of that i'm so cool so im going to talk like a nerd crap.
Thanks
I don't quite understand what distance means...can someone please explain this. Preferably in english and none of that i'm so cool so im going to talk like a nerd crap.
Thanks
The distance is when you want the next procedure to start
Example
Flag; waits until the flag is one
whilst
FFlag(5)
will wait until the flag is about 5 pixels away, and then continue.
Its more humanlike
FFlag scans for the MiniMap FlagColor, in a circle around the MiniMap Centre at Dist; Distance. (0-360, 4 times a second.) It returns True if FlagColor is found.
It is essential for any kind of movement related matter. You click the minimap, the flag appears and you walk towards it. The Flag stays on the minimap until you have reached its position. This is what we scan for using Flag; and FFlag;. Flag simply waits until the red flagcolor is away from the minimap, FFlag waits until the flag is within distance of the minimap centre, thus enabling you to walk humanlike without stops, as most other bots do. FFlag also has a build in failsafe in case the flag is "stuck".
SRL is a Library of routines made by the SRL community written for the Program Simba.We produce Scripts for the game Runescape.
So what should i set the distance to? Would 0 be the very center?
Depends on direction you are heading. FFlag(0); is centre, correct. FFlag(5); is ok on average, but you might want to try FFlag(20); sometime![]()
SRL is a Library of routines made by the SRL community written for the Program Simba.We produce Scripts for the game Runescape.
Ok well im here instead of starting a new thread do you know a text clicking function that will click the quickly option when you right click on a bank booth?
ChooseOption(x, y, 'quickly');
SRL Wiki | SRL Rules | SRL Stats
Ultimate SCAR Scripting Tutorial | Starblaster100's Auth System | Join the official SRL IRC now!
Help Keep SRL Alive! Please disable Advert Blockers on SRL! Help Keep SRL Alive!
![]()
![]()
Thank you starblaster.
There are currently 1 users browsing this thread. (0 members and 1 guests)