Blockland Forums > Help

Item Dropping/Count

Pages: << < (2/3) > >>

Goth77:


--- Quote from: Goth77 on November 22, 2012, 08:48:17 PM ---Thanks, that mod should work.

Also I am doing it so that the player cannot spend money buying items at the shop if their inventory is full. Instead, they must sell their items.

I really wish there was an ifValue that could check the number of items in the player inventory, this way the player could drop items they no longer need/use and still be able to buy more without going through the trouble of selling em'. It would also save me time with events

--- End quote ---


Goth77:

Ok that was forgeted up? Why did it quote myself? Ah screw it. Anyways, thanks.

Gen. Hothauser:


--- Quote from: Goth77 on November 22, 2012, 08:48:17 PM ---Thanks, that mod should work.

Also I am doing it so that the player cannot spend money buying items at the shop if their inventory is full. Instead, they must sell their items.

I really wish there was an ifValue that could check the number of items in the player inventory, this way the player could drop items and still be able to buy more without having to sell them.

--- End quote ---

Easily done.  The ifiteminhand event should suffice: http://forum.blockland.us/index.php?topic=49410.30

Sitrus:


--- Quote from: Gen. Hothauser on November 23, 2012, 12:48:14 AM ---Easily done.  The ifiteminhand event should suffice: http://forum.blockland.us/index.php?topic=49410.30

--- End quote ---
Except that it can't be downloaded.

Gen. Hothauser:


--- Quote from: Sitrus on November 24, 2012, 06:08:32 PM ---Except that it can't be downloaded.

--- End quote ---

Well, then he has to do it the long way and check each individual slot with <var:cl:item1> or <var:cl:slot1>, I forget which, I haven't worked on that kind of stuff in a while.

Pages: << < (2/3) > >>

Go to full version