| Blockland Forums > Help |
| Item Dropping/Count |
| (1/3) > >> |
| Goth77:
So I am working on an RPG and I am currently using VCE to check if the player inventory is full by simply adding a player variable named "Items" every time the player purchases an item. The flaw to this is that the player can simply press ctrl+w to drop the item and the player variable stays, thus even when the player inventory really isn't full, it still says it is. My question: Is there a player type that disables item dropping, or is there a VCE value to check if the player inventory is actually full? Any help is greatly appreciated. Thanks :) |
| Goth77:
EDIT: Ok so I found a VCE IfValue "Item" so I will test and see if it works |
| Goth77:
Ok yeah that didn't work. I can't figure out a way to test if the player's inventory is full or not. ANY HELP? |
| Gen. Hothauser:
http://forum.returntoblockland.com/dlm/getFile.php?id=1232 No item dropping toggle server mod. It came from here: http://forum.blockland.us/index.php?topic=158688.105 Just wondering, why are you checking to see if they have all inventory slots full? |
| Goth77:
--- Quote from: Gen. Hothauser on November 22, 2012, 08:16:38 PM ---Just wondering, why are you checking to see if they have all inventory slots full? --- End quote --- 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. |
| Navigation |
| Message Index |
| Next page |