Forum rules - please read before posting.

Switching hotspot detection modes?

Hi, I'm trying to switch modes in game. So during normal gameplay I am using Player Vicinity and it works great. However, I want the player to sit down at a console, switch camera, and switch detection mode to Mouse Over. I can't seem to find a way to do this. Any pointers?

Comments

  • D'oh. Problem solved. I'm making things harder than they are:

    AC.KickStarter.settingsManager.hotspotDetection = AC.HotspotDetection.MouseOver;

    AC.KickStarter.settingsManager.hotspotDetection = AC.HotspotDetection.PlayerVicinity;
  • Indeed.  Any such Manager field can be changed through script at runtime, and an API reference to it can be gotten by right-clicking the field's label.
  • Right clicking the,...?!??!?

    OMG that is such an amazing feature.

    Great work Chris.
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.