SRL Archive - OSR Help

Banking


Le Jingle

2012-03-04 00:49:45

Having trouble phrasing this question:

Withdraw(0, 0, 28); 

I know this is the 1st item slot in the bank

Withdraw(10, 0, 28); 

When I do this, I get one spot south of the first one I mentioned, above ^

Withdraw(0, 0, 28); 
?????

What do I do for the red box as seen in this image??


EDIT: I found out after like 100 tests >.< !!
(sorry, I became anxious so I posted this, but I found out it is
Withdraw(9, 0, 28); 
, it's just weird because I thought it would be the 10th not 9th.)


Edit 2 : If a mod views, can be trashed/locked/whatevers! :>

Mr Stoj

2012-03-13 00:02:21

0,0 is the first slot,
therefor the 10th slot will be 9


just follow (x, y) wheere 0, 0 is the origin

another useful thing is if u wanted to changed tabs use
BankTab(tab); where you can either just change tab to a number or set it up with declare players
I.e tab = 5;

keep on learning !

smurg

2012-03-13 02:27:21

Also, if you're withdrawing 28, then just use 0, and then it will withdraw using the Withdraw-all option.