Forum rules - please read before posting.

Hotspots not being Enabled via action list

Hi Chris

I have a problem with a hotspot not being enabled via an action list.

I have a hotspot (Hotspot A) with a Remember Hotspot component with the state set to off. I have another hotspot (Hotspot B) with an interaction which enables Hotspot A after an inventory interaction.

However Hotspot A never changes from Off to On in the inspector and never reacts to the mouse. Nothing is shown in the console.

Any ideas? I've tried removing the remember component and also trying a Object: Send Message action to turn the hotspot on but that doesn't work either.

Olly

Comments

  • Can't see any issue with the workflow - what are your AC/Unity versions, and can you share screenshots?

  • Hi Chris

    This is my action list. There are two hotspots. Standard for my doors. One is around the closed door, the other is enabled when the door opens and allows for a movement action to move the player through the door to the next scene.

    Here you can see that I set the Left Hotspot to enable, that's the one that I want the player to click on next to move through the door. I then set the current hotspot (called Hotspot) to Disabled.

    The first action, setting Left Hotspot to Enabled doesn't work. The second one, setting Hotspot to disabled DOES work. I've tried adding a breakpoint to ensure that those actions are being called.

    Left Hotspot, the one that isn't turning on, has a Remember Hotspot component. The other hotspot, the one that is working, doesn't.

    AC 1.80.5
    Unity 2022.3.4f1

  • Is the hotspot you're trying to activate completely inclosed by the 1st hotspot ? If so, the 2nd hotspot will be blocked by the collider of the 1st.

  • Do any related messages appear in the Console?

    The Hotspot's position won't be a factor, but it's Hierarchy may if you're affecting children. Where do the two Hotspots sit relative to one another in the Hierarchy.

    Three things to test:

    • The latest release, in a duplicate/backup project if necessary
    • Place the Action in a new ActionList and run it manually
    • If that fails, remove Remember Hotspot, then try disabling/enabling it in the new ActionList
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.