SRL Archive - OSR Help

How do I walk (to the bank) with my script?


Moron

2012-05-12 16:32:31

Title. I only need the simplest answer.

Brandon

2012-05-12 16:33:40

Find The Bank Symbol, Click it, Call FFlag(5) then your character will be at the bank if it can reach.

Moron

2012-05-12 16:41:07

From: Brandon
Find The Bank Symbol, Click it, Call FFlag(5) then your character will be at the bank if it can reach.


:confused:

Brandon

2012-05-12 16:52:26

FFlag(5) will make the script pause until your character has reached 5 within the distance of the symbol..

Example:

Walk To Bank Symbol by clicking it..
Your character is moving so you want to wait until it gets to the bank to do something else so we call FFlag
FFlag(10) = 10 distance/pixels away from the red flag on the map.
FFlag(0) = wait until you stand right on the red flag.

Think of it like:


While IsMoving do
wait(1);

Element17

2012-05-12 17:15:58

Search the tuts, also this is the wrong section.