Page 6 of 6

PostPosted: Tue Apr 24, 2007 5:39 pm
by Troodon
:shock: :shock: :shock:
It's only about 5MB!

PostPosted: Tue Apr 24, 2007 5:51 pm
by Sgt. Sparky
xD
then send it to me! :D

PostPosted: Tue Apr 24, 2007 6:01 pm
by Troodon
Check your email. And don't send the whole package back when it's reade, caus I edit it daily. Just give me the instructions how to fix it. :)

PostPosted: Thu Apr 26, 2007 10:54 pm
by Sgt. Sparky
make a variable, integer called drag,
on the mouse button down event of your scroller,
Code: Select all
drag = 1;

on mouse button up,
Code: Select all
drag = 0;

on the draw actor event of your scroller use,
Code: Select all
y = palkki.y;
if(change == 0 && x > palkki.x - palkki.width / 2)change = 1;
if(change == 1) {
populationLimit = distance(x, 0, palkki.x - palkki.width / 2, 0) / 4;
if(x < palkki.x - palkki.width / 2)x = palkki.x - palkki.width / 2;
if(x > palkki.x + palkki.width / 2)x = palkki.x + palkki.width / 2;
                        }
if(drag == 1 && xmouse > palkki.x - palkki.width / 2 && xmouse < palkki.x + palkki.width / 2)xscreen = xmouse;

:D
on this line you can change the /4 to whatever you want to get the value you want. :)
Code: Select all
populationLimit = distance(x, 0, palkki.x - palkki.width / 2, 0) / 4;

it worked on the .ged you sent me,
it has to work now. :D

PostPosted: Fri Apr 27, 2007 5:01 am
by Troodon
THANKS SPARKY! :D :D

PostPosted: Fri Apr 27, 2007 2:14 pm
by Sgt. Sparky
your welcome. :D

wow,
this took way longer than usual to fix untill you sent me the file.
:(