generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: How to make an efficient inventory [ Help ]

Previous Thread :: Next Thread 
CopiedScript is not online. CopiedScript
Joined: 08 Aug 2013
Total Posts: 137
17 Oct 2013 11:11 PM
How would I go about making an efficient inventory, which I could create stores and banks and it'd still be compatible.

Any ideas?

(I'm not asking for code, just how the inventory information is stored and displayed. This is a very in-depth question and I apologize if I'm not specific enough. I'm attempting to make an RPG, but I got stumped at this point.)
Report Abuse
chickenman158 is not online. chickenman158
Joined: 18 Jan 2011
Total Posts: 915
17 Oct 2013 11:16 PM
I would go with string values in a local script to manage them, or something.

Copy the script to player when they join.
Name it inventory or something.
Put string values inside.
????
Profit.
Report Abuse
CopiedScript is not online. CopiedScript
Joined: 08 Aug 2013
Total Posts: 137
17 Oct 2013 11:18 PM
Thats interesting, but how would I access those stringvalues from a another outside object/script.

Like a bank?
Report Abuse
chickenman158 is not online. chickenman158
Joined: 18 Jan 2011
Total Posts: 915
17 Oct 2013 11:26 PM
game.players.player.localscript.stringvalue

That's how it would be done
Report Abuse
JoshuaKempfert is not online. JoshuaKempfert
Joined: 16 Feb 2013
Total Posts: 2407
17 Oct 2013 11:27 PM
RBXGUIs
Report Abuse
CopiedScript is not online. CopiedScript
Joined: 08 Aug 2013
Total Posts: 137
17 Oct 2013 11:30 PM
Oh,
I misunderstood.

I thought you meant variables inside the local script that = a string.

a = "Hey Friend!"
b = "Hello World!"
c = "Pi is good."
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image