Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Ostyster

#1
It worked the way i wanted. Thanks
#2
I have a room in witch i want to ignore what i wrote in the global script after: function repeatedly_execute()
how do i do that?
#3
Ok i got it to work.
you hve to put this under "function repeatedly_execute() {"

Code: ags

 if ((gInventory.Visible == true) ||
    (gPanel.Visible == true) ||
    (gSaveGame.Visible == true) ||
    (gRestoreGame.Visible == true) ||
 (gRestartYN.Visible == true))
 {
    gTextbox.Visible = false;
 }
 else
 {
    gTextbox.Visible = true;


Then the GUI Textbox gets displayed while walking around but not when any other GUI (exept iconbar) is visible.
#4
Thanks there is no error anymore but sadly the box doesn't get invisible
#5
I want to make a GUI invinsible while other GUI's are shown and i tried

Code: ags

if ((gInventory.Visible = true) ||
      (gPanel.Visible = true) ||
      (gSaveGame.Visible = true) ||
      (gRestoreGame.Visible = true) ||
      (gRestartYN.Visible = true) )
  {
    gTextbox.Visible = false;
  }
  else
  {
    gTextbox.Visible = true;
  }


But if i want to run the game an error shows up saying:
Parse error in expr near 'gInventory'

I don't know what the problem is.
Please help me with my code or give me an alternative.
#6
I will try looking through an already made code and if that doesn't help me i will start over.
Thanks for your help
#7
So best way is to start over... Ok
#8
Ok but what do i have to type in to make the left mouse button select the clicked item as activated item

Code: ags

else if (button == eMouseLeftInv)
  {
  
  }
#9
AGS 3.3.5 and no template
#10
I want my Character to be able to combine Inventory items but I can't click on a Inventory item in any way. the items get displayed as they should but i can't look at them, talk to them and most importantly interact with them.
SMF spam blocked by CleanTalk