Hello! Please be wary that I am sort of still new to Unreal, so I apologize if I don’t get things down at first. Currently following a mish mash of tutorials as reference guides.
“I want to have an interaction system where the player can talk with NPCs and not move when engaging in talks, and then be able to move again when finished.”
I have an interface set up called “Interact”. Whenever the player presses to talk near an NPC, the NPC goes through an array of string elements that is displayed on a WB textbox UI that also pops up. I’ve set new limits and new starting points for my index if I want to engage in another conversation with the NPC with new dialogue, also grabbing dialogue from the dialogue array. The dialogue system itself works fine.
However, I want to disable the player’s movement without disabling their input as they would not be able to press and advance to the next array element/dialogue line. Then, I’d like to reenable the player’s movement after finishing a set of dialogue. Does anyone have a good approach to this? I haven’t been able to quite figure it out for a while.
In Player’s BP:
NPC’s BP
The Array of Dialogue:
This is the dialogue logic just in case: