I have an actor that must play a sequence of dialogues.
Basically, setOfDialogue is a structure with a context, the dialogue and the target that should play it (location).
It works great but I didn’t find any way to know if the previous dialogue as finished playing… So I don’t know when I should start the next one… Do I have to set Manually each dialogue length so that I can “wait for second”? …
try SpawnDialogue, instead of PlayDialogue, it returns an AudioComponent reference, which allows you to check if it IsPlaying. AudioComponents also allow you to use Stop, so you can allow the player to skip a dialogue before it completes.