Forum rules - please read before posting.

Disabling Inventory during conversations

Hi.
Is there a way to disable inventory during conversation with NPC? Some player try to use items directly during conversation.
Thanks

Comments

  • edited March 2018
    Hello @KosMalakhov

    You can turn off your Inventory menu during conversations.

    You need to create an ActionList, in there, you create a new Action -> Menu -> Change state -> Turn off menu and you write Inventory (the name of the menu you want to turn off).

    Now you can go to your GameEditor window -> Menu

    Click on your Conversation Menu and put the ActionList you just created in the "ActionList when turn on" 

    To turn your Inventory menu on after the conversation. create another ActionList that Turns on the menu and put it to the "ActionList when turn off" field of the conversation menu.

    (To create the ActionList easily and give it an appropriate name you can just click on "Create" next to the "ActionList when turn on/off" fields in the Conversation Menu)
  • What's your Inventory menu's Appear type set to?  Its default value is set to Mouse Over, which shouldn't enable when a Conversation is active.
  • I should notice that we are using custom Inventory, but nevertheless the following situation could appear with AC Inventory too:
    We use Appear type: During Gameplay. Usually when Interactions start, the Menu disappears automatically. However if Interaction has "Dialogue Start conversation" as a first Action, the Menu does not disappear, but it disappears if:
    * another Action will be launched in the same Interaction(for example, "Dialogue Play Speech");
    * if you open and close another menu (for example, open the Pause Menu and return to the game).
    The same situation we can see in "Adventure Creator: Creating a 2D game tutorial" 57:53
    https://youtu.be/podNefNl958?t=3473
    As a workaround, we use "Engine Wait 0.001" before the "Dialogue Start conversation Action". (edited)
  • Good spot.  This is actually a bug I've addressed and will be included in the next update.  The update will inclue a new "During Gameplay And Conversations" appear type for instances where you do want menu to show during this time.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.