Forum rules - please read before posting.

Hotspot Camera Highlight

edited March 2015 in Technical Q&A
Is it possible to mouse over a hotspot and have the camera centre on it and possibly move in slightly. A way to highlight the hotspot without clicking. As far as I can tell all the hotspot script options are for clickable actions only.

How can I make this work?


Comments

  • Certainly you could attach a custom script to your GameCamera to increase the FOV when the cursor is hovering over a Hotspot.  Just do a null check for the hotspot variable:

    if (AC.KickStarter.playerInteraction.GetActiveHotspot ())
    {
     // Zoom in
    }
    else
    {
     // Zoom out
    }

    Common functions and variables like this are all in the manual - see section 12.7
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.