SRL Archive - Help

help needed understanding the functions better


boffysworld

2011-12-31 12:53:04

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

2011-12-31 12:58:11

{*******************************************************************************
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

2011-12-31 13:14:49

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

2011-12-31 16:02:18

thx understand what u mean now.

Problem with being new, easy to forget the basics.