Blockland Forums > Suggestions & Requests

Variable replacer to check a player's entire inventory.

Pages: (1/2) > >>

.::Taboo::.:

Need this to try and make an inventory system less goofy. As usual, I tried to throw things together without actually knowing what I was doing as registerSpecialVar(Player,"itemAll","%this.tool[0].uiName","%this.tool[1].uiName","%this.tool[2].uiName","%this.tool[3].uiName","%this.tool[4].uiName","setItem",0,1,2,3,4); which of course didn't work. If anyone could just provide me with a working form of this, I'd probably suck their richard.
And I have indeed tried just stacking the built in itemX variable, but 5 of them at once is apparently too much for the game to handle, not to mention that it's just silly and overly complicated.

Scriode:

This belongs in coding help.

.::Taboo::.:

I'm not asking for help so much as asking for someone to do it for me. Thus, a request.

Scriode:

Honestly you'll get more help over there. That's where people that are willing to do this kind of stuff linger.

boodals 2:

You really have not thought this out. How would this work? What would it be if you just displayed the variable to a client?
Would it be like Hammer Wrench Printer Bow None, or HammerWrenchPrinterBowNone, or what? I doubt there is an easier way to handle checking all 5 slots using VCE than just checking item1, item2, etc.

Pages: (1/2) > >>

Go to full version