So.. i need something that will look at an inv slot, then writing on the proggie how many items are on that slot, the item will be nats so it has to be able to get amounts of stacks i think![]()
So.. i need something that will look at an inv slot, then writing on the proggie how many items are on that slot, the item will be nats so it has to be able to get amounts of stacks i think![]()
Already in SRL.
SCAR Code:{*******************************************************************************
function CountInvSlot(var items: Integer; row, col: Integer): Boolean;
By: Freddy1990
Description: Counts the number of items in an inventory slot, returns true if the slot is a stack.
*******************************************************************************}
EXAMPLE OF USE:
SCAR Code:{.include SRL/SRL.scar}
var
Items, NumberOfRunes : Integer;
begin
if CountInvSlot(Items, 1, 1) then
NumberOfRunes := Items;
end.
Ty for the example and ill use it tomorow but i dont think my memb will be left by then.. wizzup will prob bann this acc aswell but i just needed some help..
and nice that u stole my sheep shearer quest idea..
There are currently 1 users browsing this thread. (0 members and 1 guests)