Hi everybody,
AC 1.77.4 and Unity LTS 2022.3.3f1 in 2d.
We set the global unhandled event for "use on hotspot" but the player doesn't run with double click on hotspot.
We tried to add move to point action in the action list but it seems there's no a way to let the player walk on single click and run on double click.
Is there a way to fix this issue?
Thank you.
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Hotspot double-clicking behaviour is configured in the Hotspot Inspector, but it's not specific to global unhandled events.
Could you share screenshots of your Hotspot and Settings Manager? I'll attempt a recreation.
Hi Chris, sure.
Here the link to settings:
https://drive.google.com/file/d/1GdByLL-IBm6chNyYgpmsr8TyXreNlJc7/view?usp=sharing
Hotspot:
https://drive.google.com/file/d/1CwC5W_5t1l5AcZaBuaL2RAk0h1YMiDEC/view?usp=sharing
Unhandled action (just to specify: we have the issue when we select an object in inventory and try to use with an unhandled item in scene. If it's the right object the behaviour is correct and the player walk or run depending if we click single or double click):
https://drive.google.com/file/d/12m4O1ANdVwujzdaZDwOGKmoKkD9OM27a/view?usp=sharing
Thanks, I'll look into it.
Thank you
Recreated, thanks.
This looks to be due to the fact that the unhandled global event is run without any interaction settings within the Hotspot - so it doesn't have any "Player Action" settings that are normally used to cause double-clicking to run (since the run only occurs if the Interaction is set to Walk To or Walk To Marker).
What I can do, however, is have AC detect if a Hotspot has an "Unhandled inventory" interaction defined - but no actual ActionList assigned to it. In this case, the global unhandled event will rely on this interaction's "Player Action" settings, before running the ActionList assigned in the Inventory Manager.
Thank you, that would be perfect.