SRL Archive - News and General

What happened to FindObjMultiText?


Kik

2007-08-25 15:55:54

I guess the dev's deleted - anybody know why? It worked fine for me - I've also seen alot of people use it in powermining/woodcutting scripts.

Or was it deemed not useful and taken over by FindObj? I guess FindObj is faster, and can support any string and not just one word.

Sumilion

2007-08-25 15:59:31

its replaced by FindObjCustom :)

Function FindObjCustom(var cx, cy: Integer; Text: TStringArray; Color: TIntegerArray; Tolerance: Integer): Boolean;

Example of usage :

FindObjCustom(x, y, ['ut d', 'down', 'own'], [455904, 4504539, 604935], 10);

Smartzkid

2007-08-25 15:59:45

I believe it was replaced by FindObjMultiCustom, which accepts any amount of strings through an array.

__
*sigh*

Kik

2007-08-25 16:01:01

:duh:
That makes sense. I was wondering why it just disappeared - and you guys made it better than before.