The Flag include contains all Flag related functions
function FlagPresent: Boolean;
T/F depending on flag exist.
Note
by Mutant Squirrle
Example:
function FlagDistance: Integer;
Returns distance in pixels your char dot is from flag on mini-map
Note
by PPLSUQBAWLZ/Odie533
Example:
function WalkingToFlag(WaitTime: Integer): Boolean;
Checks if your charachter is moving; stores current FlagDistance to a variable, waits “WaitTime” ms and then checks the FlagDistance again. If it differs from the Distance stored in the variable, function returns true.
Note
by EvilChicken!
Example:
function FlagEx(Dist: Integer; RoadColorCheck: Boolean): Boolean;
Waits until Flag is within “Distance” distance.
Note
by Wizzup? / WT-Fakawi / ZephyrsFury modified by N1ke!
Example:
function MouseFlagEx(X, Y, rX, rY, Xmod, Ymod, FlagDist: Integer; CheckForFlag, CheckForRoadColor: Boolean): Boolean;
MouseFlag, MFF & MFNF combined into one procedure. X, Y is the point you want to click, rX, rY are randomness modifiers. Xmod and Ymod is the adjustment for each click without finding a flag. FlagDist is how close you want to be (in pixels) to the flag before exiting. CheckForFlag = True if you want to exit the function if a flag is present. (MFF) CheckForRoadColor = True if you want to call RoadColorChecked while FlagPresent
Note
by EvilChicken!
Example:
function MFF(X, Y, Xmod, Ymod: Integer): Boolean;
If the flag is not present it will click at (ax, ay) increasing by (xmod, ymod) 5 times or until the flag appears.
Note
by EvilChicken! from an original idea by WT-Fakawi
Example:
Function MFNF(ax, ay, xmod, ymod: Integer):Boolean;
Like MFF except it will click even if the flag is present when the
Note
by EvilChicken! from an original idea by WT-Fakawi
Example:
function FFlag(Dist: Integer): Boolean;
Waits until Flag is within “Distance” distance.
Note
by Wizzup? / WT-Fakawi / ZephyrsFury
Example:
procedure MouseFlag(X, Y, rX, rY, FlagDist: Integer);
Mouse and Flag combined into one easy procedure.
Note
by EvilChicken!
Example: