Symbol

The Symbol include contains minimap symbol related functions.

LoadSymbolBitmapColor

function LoadSymbolBitmapColor(Name: String): Integer;

Loads Bitmap and Color of a Specific Symbol.

Note

by Stupid3ooo, WT-Fakawi, Bebemycat2, Ron, and StarBlaster100

Example:

GetSymbolColorIn

function GetSymbolColorIn(var rx, ry: Integer; Name: string; xs, ys, xe, ye: Integer): Integer;

Returns the Color of the Chosen Symbol, Searching in a selected area of the Minimap

Note

by Starblaster100 based off of the ideas of Stupid3000

Example:

GetSymbolColor

function GetSymbolColor(var rx, ry: Integer; Name: string): Integer;

Returns the Color of the Chosen Symbol, searching the whole Minimap

Note

by Stupid3ooo and Modified by Starblaster100

Example:

FindSymbol

function FindSymbol(var rx, ry: Integer; Name: String): Boolean;

Finds a minimap Symbol and returns a Boolean if True.

Note

by Stupid3ooo

Example:

FindSymbolIn

function FindSymbolIn(var rx, ry: Integer; Name: string; xs, ys, xe, ye: Integer): Boolean;

Finds a minimap Symbol and returns a Boolean if True. Searches a selected area of the Minimap

Note

by Starblaster100, based on the ideas of Stupid3ooo

Example:

IsPointInTPA

function IsPointInTPA(Point:TPoint; TPA:TPointArray): Boolean;

Returns true if a point is in a TPA.

Note

by IceFire908

Example:

FindSymbolsIn

function FindSymbolsIn(var AnsTPA: TPointArray; SymbolName: string; x1, y1, x2, y2: integer): Boolean;

Finds a symbol in multiple places within the search coords. Results true if at least 1 symbol is found.

Note

by lordsaturn Fixed by Bad Boy JH

Example:

FindSymbols

function FindSymbols(var AnsTPA: TPointArray; SymbolName: string): Boolean;

Finds a symbol in multiple places searching the whole minimap. Results true if at least 1 symbol is found.

Note

by lordsaturn

Example:

FindSymbolsMultiIn

function FindSymbolsMultiIn(var aTPA: TPointArray; Symbols: TStringArray; x1, y1, x2, y2: integer): Boolean;

Finds multiple symbols the specified area. Results true if at least 1 symbol is found.

Note

by Nava2 & NCDS

Example:

FindSymbolsMulti

function FindSymbolsMulti(var aTPA: TPointArray; Symbols: TStringArray): Boolean

Finds multiple symbols in multiple places. Results true if at least 1 symbol is found.

Note

by NCDS

Example: