Ojia
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 650 |
|
|
| 25 Jan 2015 10:22 AM |
| For example, I click a gui and a cloned one of the first one is put right under it, how would I make it so when I click it again, another one goes under the second one, and so on? |
|
|
| Report Abuse |
|
|
|
| 25 Jan 2015 10:23 AM |
zindex
Look at the flowers, Lennie |
|
|
| Report Abuse |
|
|
Ojia
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 650 |
|
|
| 25 Jan 2015 10:36 AM |
| No I meant 1 gui, when a button is clicked it gets cloned and it goes under it (When I mean under I mean right bellow), and the next gui goes under that one |
|
|
| Report Abuse |
|
|
Looah
|
  |
| Joined: 22 Feb 2013 |
| Total Posts: 922 |
|
| |
|
Ojia
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 650 |
|
|
| 25 Jan 2015 10:41 AM |
| No, picture the guis of layering on the forum, and what will I need ZIndex for? |
|
|
| Report Abuse |
|
|
Ojia
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 650 |
|
| |
|
Crythox
|
  |
| Joined: 03 Oct 2011 |
| Total Posts: 1188 |
|
|
| 25 Jan 2015 11:11 AM |
| ZIndex. Set it higher or lower to set it's appearence. |
|
|
| Report Abuse |
|
|
Ojia
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 650 |
|
|
| 25 Jan 2015 11:21 AM |
| I dont want the guis to be on top of each other, I just want them layered from top to bottom |
|
|
| Report Abuse |
|
|
|
| 25 Jan 2015 11:23 AM |
zindex
Oh wait, you said you didn't want them on top of each other, you want them on top of each other.
In that case, there is no solution. |
|
|
| Report Abuse |
|
|
Ojia
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 650 |
|
|
| 25 Jan 2015 11:38 AM |
| No, here's an example what I mean, how our posts is layered from top to bottom, like that |
|
|
| Report Abuse |
|
|
Dynamese
|
  |
| Joined: 24 May 2008 |
| Total Posts: 126 |
|
|
| 25 Jan 2015 11:39 AM |
| Like in the explorer window? |
|
|
| Report Abuse |
|
|
|
| 25 Jan 2015 11:40 AM |
Like a list?
I seem to have forgotten to calculate the cubic sheet velocity through circular extention. |
|
|
| Report Abuse |
|
|
|
| 25 Jan 2015 11:46 AM |
he wants it like this
your screen:
[gui1] [gui2] [gui3]
so he needs help positioning guis |
|
|
| Report Abuse |
|
|
Dynamese
|
  |
| Joined: 24 May 2008 |
| Total Posts: 126 |
|
|
| 25 Jan 2015 11:51 AM |
@DoAndDoOver
In that case:
gui2.Position = gui1.Position + UDim2.new(0,0,0,gui1.Size.Y.Offset)
Hope that helps! |
|
|
| Report Abuse |
|
|
Ojia
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 650 |
|
|
| 25 Jan 2015 12:02 PM |
| Ok, is it compatible when you clone it it gets the recent one so the next one can go under the gui? |
|
|
| Report Abuse |
|
|
Dynamese
|
  |
| Joined: 24 May 2008 |
| Total Posts: 126 |
|
|
| 25 Jan 2015 04:00 PM |
gui1 = YOUR GUI
local NumberOfGuis = 0
for i = 1, NumberOfGuis do local guiclone = gui1:Clone() guiclone.Position = gui1.Position + UDim2.new(0,gui1.Size.X*i.Offset,0,gui1.Size.Y.Offset*i) end
Does that work for you? |
|
|
| Report Abuse |
|
|
Dynamese
|
  |
| Joined: 24 May 2008 |
| Total Posts: 126 |
|
|
| 25 Jan 2015 04:01 PM |
Actually I made a mistake, corrected is below:
for i = 1, NumberOfGuis do local guiclone = gui1:Clone() guiclone.Position = gui1.Position + UDim2.new(0,0,0,gui1.Size.Y.Offset*i) end
|
|
|
| Report Abuse |
|
|
|
| 25 Jan 2015 04:18 PM |
| ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX ZINDEX |
|
|
| Report Abuse |
|
|