Forum rules - please read before posting.

Multiple Interaction menus ?

edited September 2022 in Technical Q&A

hi:
I created several completely different Interaction menus, how do I differentiate them when I use hotspot-Use interactions ?

Comments

  • You'll want to lock all of them but the one you want to display - before a Hotspot is clicked and the call is made to show them.

    This can be done with the Menu: Change state Action, or through scripting - a Menu's locked state can be set through script with:

    AC.PlayerMenus.GetMenuWithName ("MyMenu").isLocked = true;
    

    If you want which Menu to show to be automated based on some logic, e.g. which Hotspot is being used, which Player is controlled etc, then this is best run through custom events.

    What the rule be when determining which Menu to show?

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.