hi i am adapting to my wood cutter and i am trying to auto colour a tree symbol.
i have found in srl there is a function called get symbol colour:
SCAR Code:
{*******************************************************************************
function GetSymbolColor(var rx, ry: Integer; Name: string): Integer;
By: Stupid3ooo and Modified by Starblaster100
Description: Returns the Color of the Chosen Symbol, searching the whole Minimap
*******************************************************************************}
function GetSymbolColor(var rx, ry: Integer; Name: string): Integer;
begin
Result := GetSymbolColorIn(rx, ry, LowerCase(Name), MMX1, MMY1, MMX2, MMY2);
end;
now what i want to do is
SCAR Code:
RadialWalk({the sybol colour} , 140, 250, 70, 2, 2);
but i dont no how to store the colour of the symbol so i can use it in radial walk
could some one help me please