Hello everyone,
I'm working on a Construct 2 game and I'm having trouble with a specific mechanic. I'd appreciate if someone could show me the proper way to structure this logic.
**What I'm trying to achieve:**
1. Player double-clicks on a campfire object
2. Player pathfinds to the campfire
3. When player arrives, plays a "harvest" animation
4. After animation finishes, campfire lights up and player can move normally again
**The problem:**
Currently, when the player arrives near the campfire and I double-click again, the animation doesn't play, the campfire lights immediately, and the player becomes frozen and won't respond to mouse clicks.
**What I need help with:**
Could someone demonstrate or explain the correct event structure for this type of interaction? Specifically:
- How to properly trigger an animation after pathfinding arrives
- How to prevent the player from moving during the animation
- How to re-enable normal movement after the animation completes
- How to handle the variables (like IsFarming, IsBusy) to prevent conflicts with normal click-to-move
I have a working click-to-move system, but adding this double-click interaction is causing conflicts.
Any examples or guidance would be greatly appreciated!
Thank you!