Log in

View Full Version : help needed understanding the functions better



boffysworld
12-31-2011, 05:53 PM
I wish someone to explain the
function
GetMMDotsOnMS
Also a way to check the outcome by coverting to a string to
show length and variables of the TPointArray

hope this makes sense.
Im new to this, and like to show in debug box what variables are always returned.

YoHoJo
12-31-2011, 05:58 PM
{************************************************* ******************************
function CountDots(WhatDot: String): integer;
By: Nava2
Description: Counts the occurance of WhatDot on the MiniMap. See GetMiniMapDots
in for more information.
************************************************** *****************************}
function CountDots(WhatDot: String): integer;
begin
Result := Length(GetMinimapDots(WhatDot));
end;


Usage : 'npc', 'yellow', 'n', 'y' : Yellow Dot;
'cape', 'blue', 'team', 't', 'b' : Blue Dot;
'item', 'red', 'i', 'r' : Red Dot;
'player', 'white', 'p', 'w' : White Dot;
'friend', 'green', 'f', 'g' : Green Dot;

That returns count of MM dots for selected parameter as in integer.

boffysworld
12-31-2011, 06:14 PM
hi there yoho jo!
thx for fast response, really luved the vids.

ok that returns total amount of requested colour dot
Im looking to find closest dot(s) to mmcx,mmcy
store in an array.
and list the array as a string to check.

boffysworld
12-31-2011, 09:02 PM
thx understand what u mean now.

Problem with being new, easy to forget the basics.