License from €75 Log in
DE EN FR ES IT CZ

Inventory Problem|Hide Inventory button when inventory is open

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 9 years ago
    Hello!

    I have encountered a problem concerning the inventory.
    I attached 2 screenshots of my current inventory.

    i do not know how to solve the following:

    i want to hide the inventory button which looks like a closed bag (screenshot) when the inventory is open (brown omelette in screenshot).
    my current solution looks like this:
    when the inventory is opened, the image of the omelette appears right over the closed bag image and fully covers the closed bag image, so as if the closed bag turned into an opened bag. but i think this is a bad solution, because then there are 2 button things overlapping. i tried to play around with conditions but i always landed in a dead end and condition chaos roll

    kind regards

    irina


    • Image in post
    • Image in post
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license.

    See licenses Try it for free
  3. · 9 years ago
    Hide the interface.

    Interfaces["inventar off"].Visible = false

    You can unhide with the same line of code, but change false to true.
  4. · 9 years ago
    Hide the interface.

    Interfaces["inventar off"].Visible = false

    You can unhide with the same line of code, but change false to true.

    That was easy, thank you very much!

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?