Hello everyone,
I’m a beginner who has only recently started learning PlayMaker, and I’m still working through the basics. This might be a very stupid question, but since I couldn’t find a suitable tutorial, I haven’t been able to find a 100% correct solution yet.
I’m currently working on a JRPG-style system, and part of it includes a “cutscene trigger”. Here is my intended design:
When the player is inside a specific collider and presses a trigger key (for example, E), another FSM will be played.
Both conditions must be met at the same time: the player must be inside the collider and press the key.
If either condition is not met (for example, entering the collider without pressing the key, or pressing the key outside the collider), the other FSM will not be played.
While the other FSM is playing, leaving the collider or pressing the key again should not stop it or trigger it again.
In other words, this “cutscene trigger” should be temporarily disabled while the FSM is playing.
After the other FSM finishes playing, the entire cutscene trigger should return to its previous state, allowing the player to trigger it again.
At the moment, I’m not sure how to achieve the following points:
How to detect both “player is inside the collider” and “trigger key is pressed” at the same time in PlayMaker
How to play another FSM from within this FSM
How to temporarily disable this cutscene trigger while the other FSM is playing, and then re-enable it after it finishes
I believe PlayMaker should be able to handle this fairly simple requirement, but I haven’t yet found the correct approach. If you know how to achieve this, I would really appreciate it if you could explain the general idea or workflow.
P.S. My English is not very good, so please forgive me if there are any strange sentences.
