AGS Awards nominations close at 13:59 GMT on Saturday 10 February 2018. You haven't yet nominated, so you've got 17 days and 2 hours left to play the games and decide which to nominate!

Author Topic: GUI.Y co-ordinates are out of range  (Read 468 times)

Crimson Wizard

  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
Re: GUI.Y co-ordinates are out of range
« Reply #20 on: 12 Jan 2018, 23:08 »
How do I make the description text disappear after clicking on something?

Assuming you have ProcessClick or RunInteraction called somewhere in the on_mouse_click, then you just do gGui1.Visible = false; before that and gGui1.Visible = true; after that.

Re: GUI.Y co-ordinates are out of range
« Reply #21 on: 12 Jan 2018, 23:36 »
How do I make the description text disappear after clicking on something?

Assuming you have ProcessClick or RunInteraction called somewhere in the on_mouse_click, then you just do gGui1.Visible = false; before that and gGui1.Visible = true; after that.
I'm using the TwoClickHandler script, and I tried adding gGui1.Visible = false; and gGui1.Visible = true; everywhere there was a ProcessClick or RunInteraction comman in the script, like this:
Code: Adventure Game Studio
  1. gGui1.Visible = false;
  2. ProcessClick(mouse.x, mouse.y, eModeUseinv);
  3. gGui1.Visible = true;
But I saw no difference.

Crimson Wizard

  • AGS Project Tracker Admins
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    •  
    • Lifetime Achievement Award Winner
    •  
Re: GUI.Y co-ordinates are out of range
« Reply #22 on: 13 Jan 2018, 00:18 »
Well, that will supposedly work only for blocking sequences. If there is a non-blocking sequence, or something that waits for script to end, like room change, then you need more sophysticated system. Cannot suggest anything right now.

Re: GUI.Y co-ordinates are out of range
« Reply #23 on: 13 Jan 2018, 10:42 »
Well, that will supposedly work only for blocking sequences. If there is a non-blocking sequence, or something that waits for script to end, like room change, then you need more sophysticated system. Cannot suggest anything right now.
Ok, do you think I should re-post the question in the Advanced Technical Forum?

Snarky

  • Global Moderator
  • Mittens Earl
  • Private Insultant
    • I can help with proof reading
    •  
    • I can help with translating
    •  
Re: GUI.Y co-ordinates are out of range
« Reply #24 on: 13 Jan 2018, 15:04 »
do you think I should re-post the question...

No. Always no.