|
| 06 Jan 2015 11:39 AM |
| How would I make the ScrollingFrame vertical scroll start at the bottom, and then players scroll upwards initially instead of downwards? I tried setting the CanvasPosition to the max value, and that seems to work, however it snaps back to the top when I test it. Any way to get rid of that/another way to do this? |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2015 12:03 PM |
| Given that this is doable of course, if it's not doable, please tell me! |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2015 12:10 PM |
Have a (preferably local)script set the position. For example, this will put the default ScrollingFrame start scrolled down: script.Parent.CanvasPosition = Vector2.new(0, 1242) |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2015 02:30 PM |
| Thanks, worked like a charm :D |
|
|
| Report Abuse |
|
|
|
| 06 Jan 2015 02:53 PM |
| Im having a minor issue with it now though, which is that right now I'm using Scale for the rest of the Gui, but since the CanvasPosition property uses pixels, how can I make sure it's the bottom for different screen resolutions? |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 07 Jan 2015 10:31 AM |
| How can I convert Scale to Offset? |
|
|
| Report Abuse |
|
|
|
| 07 Jan 2015 06:16 PM |
| Or keep the ScrollingFrame at the bottom no matter the screen resolution? |
|
|
| Report Abuse |
|
|
|
| 07 Jan 2015 08:06 PM |
| How would I go about doing this? |
|
|
| Report Abuse |
|
|
| |
|
|
| 08 Jan 2015 02:37 PM |
| Setting the CanvasPosition's Y higher than its maximum automatically sets it to the maximum, although I've had some problems with it setting it to around 85% of the maximum 1/5 of the time when I switched to scale. |
|
|
| Report Abuse |
|
|
|
| 08 Jan 2015 07:02 PM |
| Aah ok thanks. I did that temporarily, but it shows a minor error in the output saying that it got set to the max instead, which is what I want, but since it's a LocalScript, players will see that message, which I don't want. Is there any way to hide it? |
|
|
| Report Abuse |
|
|
|
| 09 Jan 2015 12:12 PM |
| I tried using pcall, but that still didn't remove the message. I don't want the clients Dev Console spammed with these messages. |
|
|
| Report Abuse |
|
|
|
| 09 Jan 2015 08:41 PM |
| I guess it's good enough, but I would really appreciate it if someone could help me remove the message :P. |
|
|
| Report Abuse |
|
|