Forum rules - please read before posting.

I can't find AC Events Editor

Hey,
I tried following a tutorial to make a "You have found an item" window. Still, the instructions said I needed to add an Inventory/Add event by accessing Adventure Creator -> Editors -> Events Editor. However, I couldn't find the Events Editor where the tutorial said it should be listed.

https://www.adventurecreator.org/tutorials/creating-you-have-found-item-window

Thank you,

Comments

  • Which versions of AC and Unity are you using? The Events Editor is a new addition, introduced in the recent v1.78.0 release.

    It also requires the use of Unity 2019.4 or later.

  • Hey Chris,
    I'm using AC version: 1.77.4 and Unity: 2022.3.3f1. What is the best way to update AC? The update redirects me to the Unity assets story, and nothing happens when I press Open in Unity.

  • You can update from within Unity's Package Manager - see the Manual's "Updating Adventure Creator" chapter for details.

  • Thank you, Chris.

  • I followed the tutorial carefully and managed to finish it. However, the inventory item collected is not being displayed. I can also see this yellow error:
    Cannot find Element 'Graphic' within Menu 'Label' (From Action #1 in ActionList 'OnInventoryAdd').

    My action list: https://prnt.sc/U56x5KNCv5iW
    Global events: https://prnt.sc/Dwfg1SJVVTKS
    New Item menu: https://prnt.sc/mGz5nzQIVN-5

  • edited July 2023

    Oops, sorry - a small typo in the tutorial.

    Set the "Menu containing Element" field to "NewItem". I'll update the tutorial with the same change - thanks for letting me know.

  • Thank you, Chris. That fixed the problem. <3

  • Hello again,
    Sorry for all the questions; I'm still learning.

    1) I'm wondering how to implement sound effects when picking up an item.

    2) Is it possible for the "You have found an item" menu to automatically close once the item has been collected?

    Thank you,

  • You can run further Actions when the Menu turns on by assigning an ActionList in its ActionList when turn on field.

    You can run a Sound: Play one-shot Action in this list to play a sound effect at this time. The Chamber demo over on the Downloads page does something similar for its own NewItem menu.

    To have the Menu close automatically after a time, use an Engine: Wait Action followed by a Menu: Change state Action that turns the Menu off.

  • Thank you for getting back to me, Chris.

    1) I successfully used the Sound: Play one-shot but encountered an issue. The SFX only plays after I close the "You have found an item" menu. I would like it to play simultaneously with the menu.

    2) Should I include Engine: Wait in the same OnInventory Actionlist?

    P.S. I tried the Chamber demo, but the main scene shows in pink https://prnt.sc/aG6F7XvnU4Et

    Thank you,

  • The SFX only plays after I close the "You have found an item" menu.

    Is the Menu set to pause the game? If the Menu is to automatically turn itself off, you can uncheck its Pause game when enabled? property.

    Should I include Engine: Wait in the same OnInventory Actionlist?

    Yes - this should run normally after the above change.

    I tried the Chamber demo, but the main scene shows in pink

    The demo uses Unity's built-in render pipeline. If you're using URP or HDRP, you'd need to convert its materials for them to display correctly. This page on Unity's website covers the process, but you'd be better off importing the demo into a fresh project.

  • Thank you, Chris. I can confirm that issue has been fixed.

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.