Hello, everyone! I need warn you before I start with my writing, I know very little about coding myself. It's been years since I've fiddled around with AGS, so this is likely a simple fix, but any help would be greatly appreciated.
(http://orig08.deviantart.net/c472/f/2015/312/8/a/barproblemexample1_by_zoo977-d9fy183.png)
(Ignore the looming void of death and imposing red rectangles of judgement - I'm using base graphics to make sure everything is in working order.)
This is how the screen is going to look for the majority of the game. Regardless of whether or not the cursor is being held over the icon bar at the bottom of the screen, it will usually be visible. So, it's important that the GUIs are centered in the middle of the actual playspace.
(http://orig04.deviantart.net/a97e/f/2015/312/1/c/barproblemexample2_by_zoo977-d9fy17z.png)
Unfortunately, this means that the save and load screens look horrible without the icon bar visible. Is there any way that I can keep the icon bar visible, but deactivated, while the save and load screens are opened?
Again, thanks to all of you for your help in advance! ââ,,¢Â¥ ;) ââ,,¢Â¥
something like this:
Global rep exec always
{
if(gSaveGame.Visible==true || gRestoreGame.Visible==true) // if either gui is visible
gIconbar.Clickable=false; // will not take clicks.
else
gIconbar.Clickable=true; // will take clicks.
{
nice gui by the way ;)
Your code worked like a charm! Thank you very much for your help! :-D
gIconbar.Clickable = !(gSaveGame.Visible || gRestoreGame.Visible);
shlasher, what's with the two opening braces in your code...? Shouldn't you know how to use them by now?
brain malfunction :(
(laugh)