Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.

@template(Header)
#################

   at System.Collections.Generic.Dictionary`2.FindValue(TKey key)
   at siteface.Core.Template.Execute(String html) in /home/simon/Documents/siteface/siteface/sitefaceCore/Core/Template.cs:line 631
   at siteface.Core.Template.Execute() in /home/simon/Documents/siteface/siteface/sitefaceCore/Core/Template.cs:line 604
   at siteface.module.CMSModule.<>c__DisplayClass2_0.<RegisterCallbacks>b__3(String[] str) in /home/simon/Documents/siteface/siteface/moduleCMS/Modules/CMSModule.cs:line 81
   at TemplateSlang.TplCall.Visit(ExecContext e) in /home/simon/Documents/siteface/siteface/sitefaceCore/TemplateSlang/TemplateSlangMain.cs:line 3441

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

  • #1, by wimfWednesday, 07. March 2018, 22:48 7 years 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

    238 Posts


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

    Thread Captain

    2346 Posts

  • #3, by wimfThursday, 08. March 2018, 13:13 7 years 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

    238 Posts

Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.
</section>
@template(Footer)
#################

   at System.Collections.Generic.Dictionary`2.FindValue(TKey key)
   at siteface.Core.Template.Execute(String html) in /home/simon/Documents/siteface/siteface/sitefaceCore/Core/Template.cs:line 631
   at siteface.Core.Template.Execute() in /home/simon/Documents/siteface/siteface/sitefaceCore/Core/Template.cs:line 604
   at siteface.module.CMSModule.<>c__DisplayClass2_0.<RegisterCallbacks>b__3(String[] str) in /home/simon/Documents/siteface/siteface/moduleCMS/Modules/CMSModule.cs:line 81
   at TemplateSlang.TplCall.Visit(ExecContext e) in /home/simon/Documents/siteface/siteface/sitefaceCore/TemplateSlang/TemplateSlangMain.cs:line 3441