Hi everyone,
I’m trying to set up a mechanic where the player can click on a random spot on the ground, have the character walk over to that location, and then dig the ground using a shovel.
I’m mainly stuck on getting the character to walk to the clicked location and then trigger the digging animation. What would be the easiest way to achieve this using the Actions available in Adventure Creator?
Thanks in advance for any help!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
When you are on the hotspot there will be the option on the rightside to create an action list. There you can attach the desired animation from the character you choose.
The adventure creator manual online may also assist you further.
Hope this helps.
-Asuna
Yes, the easiest way is to just make it a Hotspot and regular Use interaction.
You can use a simple script to place its Walk-to Marker over the cursor so that the Player walks to the exact point you clicked:
Thanks for the help @Asuna09 and @ChrisIceBox . Chris, your method works, but I’m running into a strange bug. On the first click, the character walks very slowly. After that, the walking speed returns to normal, but the character becomes invisible.
Please have a look at the video to see what’s happening.
https://drive.google.com/file/d/1idfRBlKy_zX-mnr-TxmjvGMQT3wYFAZ9/view?usp=sharing
Come out of 2D view - is the Player walking towards/away from the camera?
It probably just needs the Z position of the Marker to match that of the Player:
Yay, that solved it. Thank you so much @ChrisIceBox !