|
| 25 Jun 2015 07:02 AM |
Ok so if i had items in the replicatedstorage for some reason if i add multiple they show for both frames? how would i make it so the gui frames picks up the item names and then sorts them :)
i have the script but yeahhhh.... it picks one of the items and shows for both frames.
Items in the RS are named 1,2 Items in the GUI are named item1(frame) item2(frame)
Script -__-
http://pastebin.com/d9ZvCiaN |
|
|
| Report Abuse |
|
|
| |
|
|
| 25 Jun 2015 09:50 AM |
| Can you explain this better? |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2015 09:52 AM |
Well, i added 1 item and the script picks it up and puts all the info in the frame but when i add another frame for another item it depicts it and duplicates item 1 so im really confused :( Il post images..
|
|
|
| Report Abuse |
|
|
|
| 25 Jun 2015 09:53 AM |
http://gyazo.com/202794517a1b8bda9fc4c99b03c34ea9
http://gyazo.com/e260b9584225c2e8c8b517e749b54a9c |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2015 09:55 AM |
Again what are you trying to do.
Like explain to me what script your trying to accomplish |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2015 09:57 AM |
| Well im trying to make it so it shows multiple items and when i press it, the item will show a selection box and you can place it similar to Miner's Haven (WIP) though. |
|
|
| Report Abuse |
|
|
| |
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 25 Jun 2015 10:43 AM |
for i,v in next, game.ReplicatedStorage:GetChildren() do if v:IsA("Model") then print(v.Name) end end |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 25 Jun 2015 10:44 AM |
| obviously you will have to iterate through the folder, mine was just an example anyways |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2015 11:05 AM |
| How would i implement this into the script? |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 25 Jun 2015 11:07 AM |
| well you basically already did. I don't quite understand what you are trying to do |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2015 11:08 AM |
| This is what im trying to do im trying to add another frame for another item but when i do i add another item to the items folder too it says they are the same which they aren't.. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
pieshop97
|
  |
| Joined: 11 Mar 2011 |
| Total Posts: 550 |
|
|
| 25 Jun 2015 11:47 AM |
I think he's trying to say that he wants a ScreenGUI, and when you click a TextButton on the ScreenGUI, another sort of GUI appears, but is only visible to the player that clicked the button at that time, and can be dragged around, and is basically a preview of a part or group of parts or model, or whatever. And if you click on a spot, the " preview " will no longer be a preview, and will turn into the part or group of parts or model that it was showing.
I got all of this cause he mentioned Miner's Haven.. Not cause he's good at explaining. .-.
~Why are you reading this?~ |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2015 11:50 AM |
| Lol ^ thanks for explaining and yes. |
|
|
| Report Abuse |
|
|
| |
|
pieshop97
|
  |
| Joined: 11 Mar 2011 |
| Total Posts: 550 |
|
|
| 25 Jun 2015 11:52 AM |
Eh.
You could just do a regular tycoon .-.
~Why are you reading this?~ |
|
|
| Report Abuse |
|
|
|
| 25 Jun 2015 11:58 AM |
I wasn't wanting to make a regular tycoon :(
I could give you what i have right now? |
|
|
| Report Abuse |
|
|
| |
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 25 Jun 2015 12:43 PM |
| You will need to use 3D Guis |
|
|
| Report Abuse |
|
|
| |
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 25 Jun 2015 12:47 PM |
| http://www.roblox.com/Roblox-3D-GUI-Module-item?id=159576724 |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 25 Jun 2015 12:48 PM |
updated link
http://www.roblox.com/Module3D-v3-item?id=175436927 |
|
|
| Report Abuse |
|
|