That aren't in a stack I know there GetItem does this work with single items?
Mat
That aren't in a stack I know there GetItem does this work with single items?
Mat
^^
You mean CountItemsIn?
Simba Code:(*
CountItemsIn
~~~~~~~~~~~~
.. code-block:: pascal
function CountItemsIn(Area, ItemType: string; Item: Integer; Tol: TIntegerArray): Integer;
Counts the number of items found within the Area (does not count stacks).
Parameters are exactly the same as ItemCoordinates.
.. note::
Author: masquerader
Last Modified: Unknown by ZephyrsFury
Example:
.. code-block:: pascal
var
itemsFound: integer;
begin
itemsFound := CountItemsIn('inv', 'dtm', dtm_Ore, []);
writeln('Ore found: ' + toStr(itemsFound));
end;
*)
Simply a GOD beast...
My Tutorials
Edit:Not a clue how it works.
E::Got it! ty
^^
There are currently 1 users browsing this thread. (0 members and 1 guests)