Hey Pumaman, been a while since I axed(I Know its spelled wrong) you for a feature.
I really needed a few simple features.
Two are GUI involved.
*Add an option for the GUI to slide in from a certain area to a certain point on screen. EG: Slide in from right bottom coordinates of the screen to the top left coordinates of the screen. Maybe there could be a script command and an option in the GUI editor.
*I needed a way to make a button invisible in the GUI after a certain amount of time. So I was hoping you could modify a bit "SetButtonPic" to do the following: Maybe you can add a 0 WHICH Parameter for null and for SLOT, if you put -1, it would make the button disappear and it wont be even clickable. If you put -2, it would still keep the last image it had, but it would just disable it. Sort of how VB works.
Just those two suggestions would do.
JD
any chance of making the first one an object, and animating it onto the screen, and then taking it away, leaving the real button underneath? or would you need still your second suggestion to finish that part?
Quote*Add an option for the GUI to slide in from a certain area to a certain point on screen.
You can do this via the script with SetGUIPosition, I can't really justify adding it as a specific editor feature.
Quote*I needed a way to make a button invisible in the GUI after a certain amount of time.
You could use SetButtonPic to set it to a transparent sprite, or SetGUIObjectPosition to move it out of the visible area of the GUI.
Yeah -- I did that "sliding GUI" thing in Apprentice. Check it out. All you have to do it use the SetGUIPosition function.
OK, I will check out apprentice. By any chance, could you show me a bit of the code you used to make it slide?
JD
There's also a sliding GUI in Songo. Just do it via something like:
SetGUIPosition(5, 0, 199);
GUIOn(5);
int y=200;
while (y>180){
y--;
SetGUIPosition(5, 0, y);
Wait(1);}
to slide an GUI from the bottom say for example, just simple as that.
There's one in The McReed Case aswell... actually there are two! And a load of script needed...
OK thanks I will try that code.