[Resolved]Open popup image and waiting left click to disappear ?

  • #1, by wimfWednesday, 07. March, 22:48 7 months ago
    Hello,

    I would like, when my character looks at some elements of a room, that the object opens in larger (picture popup). so not a zoom but an image that is displayed.

    I get there, but once the image is displayed, I would like VS to wait for the player to click 1x on the left button so that the image disappears and the player can continue playing in the same room.

    I think that lua it must be possible but I can not find the solution.

    Thank you for your help.

    Forum Fan

    237 Posts


  • #2, by sebastianWednesday, 07. March, 23:34 7 months ago
    Just use a new interface for this. Then you could show/hide the interface just like an inventory or book.

    Thread Captain

    2205 Posts

  • #3, by wimfThursday, 08. March, 13:13 7 months ago
    Hi sebastien.

    It's working.

    I have create a new class with explorer, it works very well.

    And to hide the interface once the player has seen the object, I put the command "hide 'name of my new interface'" in Left click action

    I'm very happy. Thank you very much. I hope I can help you too

    Forum Fan

    237 Posts

Write post