I'm trying to set it up so that if the player is too far from a hotspot they will say "I need to get closer". I know there's the ray length for detecting within a certain range, but I'd love the player to know something is around without having to be close to it.
I can do this in code, but was wondering if there is a feature in Adventure Creator that will allow this already?
Thanks!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
What's your Hotspot detection method? If set to Player Vicinity, you can opt to place distance Hotspots on a separate layer (DistantHotspot), which you could raycast for in a custom script to handle a default interaction.
Otherwise, you could make the check in a custom Action:
Start the Interaction with this, and then have it either give the "too distant" response, or the regular reaction depending on its output.
This check can be moved to a generic ActionList and parameterised to avoid repeating for each Hotspot interaction, but see if this approach works for you first.
Thanks for that, Chris! I'll give it a go and let you know how it turns out.