So I am trying to create a custom scroll bar - Most of it worked very well. The only thing I can't get working is the aspect ratio on the page I want to move much faster...
I have a system that can detect if you are moving it up or down...
Y Location > ((Mouse Y position in the UI) )
Dialog - Move (("shop-item-icon-1-pl" + (String((Triggering player)))) from the Global data table) to ((X offset of (("shop-item-icon-1-pl" + (String((Triggering player)))) from the Global data table) for 1), ((Y offset of (("shop-item-slider-2-pl" + (String((Triggering player)))) from the Global data table) for 1) + ((Mouse Y position in the UI) - 1))) relative to Bottom of dialog for (All players)
I have tried to increase the -1 (One position movement to -50 to make it move further... ) This seems to work, but strangely it only moves it the -50 once and then it goes back to moving the item up and down 1 pixel.. Which I simply don't understand why its doing it. If anyone can help or have done something similar it would be appreciated if you could point me in the right direction ha!
( In the demo its only moving by 1 pixel up and down ) But if I set it to -50 or w/e It will hop down 50 pixels for the very first movement and then increase it by 1 after that per movement. I just don't get why it doesn't keep moving the dialog by -50 >< or w/e I set it too.
In your video it looks like it's caused by you clicking the bottom of the scroll button, and then it moves the button so the the top of the button is at your mouse, this could be the reason for the jump.
My issue is actually the exact opposite.. I want it to jump.. I don't want the ratio to be 1:1.. When I apply a -50 or any higher gap on that movement.. It works but only once and then the item continues to only move by one pixel... (It is the same trigger running though So I don't understand the -50 doesn't shoot every time and only the firs time the trigger runs) Sigh I wish blizzard just gave us scrollbars ha
So I am trying to create a custom scroll bar - Most of it worked very well. The only thing I can't get working is the aspect ratio on the page I want to move much faster...
I have a system that can detect if you are moving it up or down...
Y Location > ((Mouse Y position in the UI) )
Dialog - Move (("shop-item-icon-1-pl" + (String((Triggering player)))) from the Global data table) to ((X offset of (("shop-item-icon-1-pl" + (String((Triggering player)))) from the Global data table) for 1), ((Y offset of (("shop-item-slider-2-pl" + (String((Triggering player)))) from the Global data table) for 1) + ((Mouse Y position in the UI) - 1))) relative to Bottom of dialog for (All players)
I have tried to increase the -1 (One position movement to -50 to make it move further... ) This seems to work, but strangely it only moves it the -50 once and then it goes back to moving the item up and down 1 pixel.. Which I simply don't understand why its doing it. If anyone can help or have done something similar it would be appreciated if you could point me in the right direction ha!
( In the demo its only moving by 1 pixel up and down ) But if I set it to -50 or w/e It will hop down 50 pixels for the very first movement and then increase it by 1 after that per movement. I just don't get why it doesn't keep moving the dialog by -50 >< or w/e I set it too.
@Ash4meD: Go
Bump... No one has any idea on this really?
In your video it looks like it's caused by you clicking the bottom of the scroll button, and then it moves the button so the the top of the button is at your mouse, this could be the reason for the jump.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
@willuwontu: Go
My issue is actually the exact opposite.. I want it to jump.. I don't want the ratio to be 1:1.. When I apply a -50 or any higher gap on that movement.. It works but only once and then the item continues to only move by one pixel... (It is the same trigger running though So I don't understand the -50 doesn't shoot every time and only the firs time the trigger runs) Sigh I wish blizzard just gave us scrollbars ha
@Ash4meD: Go
I'd have to see the whole trigger to figure out why, it seems like it should be working though.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)