SRL Archive - Reflection Development

R_GetItemStackSizeAt in Bank


IPwnz

2011-02-27 15:33:11

I'm wondering how to check for the stack size of an item in the bank, is that possible as-is or do we need to make a new function for it?

Yago

2011-02-27 16:46:10

It Would Make Like Easier But There Is A Get Around


If (R_ItemExistsInBank(Lobster, LobsterBank)) Then
Begin
WriteLn('Have ' + IntToStr(LobsterBank.Stacksize) + ' Lobster(s) In The Bank.');
End

IPwnz

2011-02-27 17:26:10

From: yago
It Would Make Like Easier But There Is A Get Around


If (R_ItemExistsInBank(Lobster, LobsterBank)) Then
Begin
WriteLn('Have ' + IntToStr(LobsterBank.Stacksize) + ' Lobster(s) In The Bank.');
End


Thanks for the Stacksize suggestion, that works well. :)

Yago

2011-02-27 17:31:08

No Prob :)

Bad Boy JH

2011-02-27 20:05:22

Leave the original post as it was next time, so if anyone else has a similar probelm, they can see, and get the solution.

IPwnz

2011-02-27 21:11:07

From: Bad Boy JH
Leave the original post as it was next time, so if anyone else has a similar probelm, they can see, and get the solution.


I changed it back to the original post. :)